adblock.ini on fanboy.co.nz EOL

Iron Forum for english speaking people

bulek

Re: adblock.ini on fanboy.co.nz EOL

Post by bulek »

ironuser wrote:There are RTF (Rich Text File) line feeds that are not recognized by Notepad.
This has nothing to do with RTF. The fanboy's text files just use unix format for new line characters. Such files are not easy to read in notepad. You could extend your script when doing search and replace to change all CR characters to CR LF.
ligerTiger
Posts: 29
Joined: Sun Nov 21, 2010 9:24 pm

Re: adblock.ini on fanboy.co.nz EOL

Post by ligerTiger »

Thank you guys for helping me out, i really appreciate it.

So, if i have understood it right i do the following:

I go to this adress https://fanboy-adblock-list.googlecode.com/hg/iron/ and from there i double klick adblock-beta.ini.
Then i choose all the text , copy it and paste it to the adblock file in the iron folder, right ?


And please explain to me in a simple way if i have done something wrong, thanks !
ironfan
Posts: 79
Joined: Sun Dec 28, 2008 10:10 am

Re: adblock.ini on fanboy.co.nz EOL

Post by ironfan »

No copy, no paste, just "save as...".
There are then few additional lines in adblock.ini, but they don't do anything, you can leave them.
Iron ist private and tolerant.
ironuser
Posts: 388
Joined: Mon Feb 01, 2010 12:29 am

Re: adblock.ini on fanboy.co.nz EOL

Post by ironuser »

Be careful of what it 'Saves As'. A right click in the page, Save as will want to save it as adblock-beta.ini.txt so you need to remove the .txt BEFORE saving!
ironfan
Posts: 79
Joined: Sun Dec 28, 2008 10:10 am

Re: adblock.ini on fanboy.co.nz EOL

Post by ironfan »

Yes, "save as..." an then (in German "alle Dateien") "all files...".
Then you see adblock.ini and have not to rename it.
Just click on this destination file.
As a lazy guy I just want to click and if code is inevitable then as short as possible (like js).
So generally clicks and mouse gestures rulez, keyboard only if there is no other way.
Keyboard is for writing. All the rest ist for the mouse.
ligerTiger
Posts: 29
Joined: Sun Nov 21, 2010 9:24 pm

Re: adblock.ini on fanboy.co.nz EOL

Post by ligerTiger »

Ok guys, i have done the following:

I opened this https://fanboy-adblock-list.googlecode. ... k-beta.ini , right klicked the mouse and chose Save As.

Everything good so far.
I save it as adblock-beta.ini but however it names it .xt , i just dont understand... but then when i save it to the Iron folder it is adblock.beta.ini again ...
but the main point is i guess that it has the right name in the Iron folder.

Ironfan, my computer does not give options like Save As "all files" it is just Save As.
ironuser
Posts: 388
Joined: Mon Feb 01, 2010 12:29 am

Re: adblock.ini on fanboy.co.nz EOL

Post by ironuser »

@LigerTiger
As far as I know, and have checked, You need to change the file name to adblock.ini in order for it to perform it's blocking operations. Iron recognizes adblock.ini and not adblock-beta.ini
fanboy
Posts: 24
Joined: Sat Dec 13, 2008 11:51 pm

Re: adblock.ini on fanboy.co.nz EOL

Post by fanboy »

Apologise about the website being down for 6 days, it was out of my control :( Its backup and pulling updates off the googlecode website.

Okay, after reviewing the options, I'm making the following changes... Iron Adblock list will still be updated. It'll be a straight conversion of the Opera list, rather than a seperate maintained list. The converted list should work well in Iron, the converted list should be working sometime in Janurary.

Merry Xmas :)
ligerTiger
Posts: 29
Joined: Sun Nov 21, 2010 9:24 pm

Re: adblock.ini on fanboy.co.nz EOL

Post by ligerTiger »

I cant get this work after over a month of trying so i give up, maby i should go a pc class ...

I will wait until adblock become hopefully automatic some day, but many thanks for your help anyway guys !

A new question, what is the second best option, adtwart ? I want something that works automaticully.

Appreciate your help again !
ironuser
Posts: 388
Joined: Mon Feb 01, 2010 12:29 am

Re: adblock.ini on fanboy.co.nz EOL

Post by ironuser »

@LigerTiger<<
What is so hard about going to the page for the Fanboy list, RIGHT CLICK and SELECT 'SaveAs', CLICK OK, then NAVIGATE to your Iron install folder, and CHANGE THE NAME OF THE FILE IN THE 'SaveAs' Window to adblcok.ini, then save it?
If it asks you to overwrite something already there, say yes.

PS: NOTE!!!! >>> Adthwart as NOW PART of Adblock Plus, and you STILL have to manage your subscriptions to the list(s) you want to use!

Also, you can SELECT ALL the code below and COPY AND PASTE to a Notepad document, and save it to your desktop as adblock-update.js
Close Iron, and double click it, and it SHOULD save it to your Iron folder(IF I HAVE GUESSED RIGHT).
Click it once every few days to get an updated list.
<<<<< Code is thanks to Ironfan from this thread(or another, I forget)

Code: Select all

http = new ActiveXObject("Microsoft.XMLHTTP")
fso = new ActiveXObject("Scripting.FileSystemObject")
f=fso.CreateTextFile(file="C:/Program Files/SRWare Iron/adblock.ini", true)
W=new Array("https://fanboy-adblock-list.googlecode.com/hg/opera/urlfilter.ini",
"https://fanboy-adblock-list.googlecode.com/hg/opera/urlfilter-stats.ini",
"https://fanboy-adblock-list.googlecode.com/hg/opera/urlfilter-rus.ini")
i=0,txt="\t"+W[0]
while(i<W.length)
{
if(i) txt+="\nAND\t"+W[i]
http.open("GET", website=W[i++], false) 
http.setRequestHeader("Accept","text/html")
http.send()
f.Write(http.responseText.replace(/\*/g,"").replace(/#/g,"# "))
}
WScript.Echo(txt+"\n\n\t\tis replaced and added to\n\n\t\t"+file)
f.Close()
Post Reply