Thanks.ironfan wrote:Last late night overcame me this funny micro & soft code, simplifying it as terrible as possible.
Just for fun as another proposal:As a *.js-file it needs the freaky windows host script.Code: Select all
http = new ActiveXObject("Microsoft.XMLHTTP"); fso = new ActiveXObject("Scripting.FileSystemObject"); http.open("GET", "https://secure.fanboy.co.nz/opera/urlfilter.ini", false); http.setRequestHeader("Accept","text/html"); http.send(); f=fso.CreateTextFile("E:/IronPortable/Iron/adblock.ini", true); f.Write((http.responseText.replace(/\*/g,"")).replace(/#/g,"# ")); f.Close();
This works as well as the other scripts. Only real difference is that there isn't a notification that it has been done, and that is not all that important to me. Otherwise the output is the same, and the adblock.ini appears to be working well.