adblock.ini on fanboy.co.nz EOL

Iron Forum for english speaking people

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 your advices and Happy New Year !

I dont know about you guys but i have noticed that for me the Iron works fastest without ANY adblocks.
Kind of weird, i mean shouldnt it take longer to load all those ads etc. than to block them :?
arflech
Posts: 69
Joined: Thu Apr 01, 2010 1:39 am

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

Post by arflech »

ironuser wrote:@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()
I've found that I need to finesse the resulting file manually to get it to work in SRWare Iron without crashing; merely pulling out the asterisks isn't enough because of the filters with asterisks in the middle. It's not a massive concern to me because once that one Chromium issue is worked out, both Adblock extensions will be able to block content perfectly, just like Safari Adblock, and then this browser will only be for those paranoid about Google spying on them because its advantage in content-blocking will be negated.
fanlynne
Posts: 1
Joined: Tue Mar 01, 2011 1:39 am

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

Post by fanlynne »

Most of googles extentions enable the tracking, and i asked if this does too, but they won't answer me. Speaking of which, it made my last post sound a bit offense, cuz it re-arranged the wording
ironuser
Posts: 388
Joined: Mon Feb 01, 2010 12:29 am

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

Post by ironuser »

fanlynne wrote:Most of googles extentions enable the tracking, and i asked if this does too, but they won't answer me. Speaking of which, it made my last post sound a bit offense, cuz it re-arranged the wording
What do you mean by tracking?
Read this. It discusses 'tracking' in detail, and I think you will find that you can be tracked if someone puts their mind(s) to it, Google extensions or not!
http://www.answers.com/topic/internet-t ... nd-tracing
Simply put, IMO, if you don't want to be tracked on the internet, DON'T connect to it! There is no 'real' privacy.

But, I use a script similar to the one posted above, NOT because it is safer(it's not), but because it it doesn't add anything to the browser, and I have the update control.
jazluvr
Posts: 129
Joined: Sun Sep 05, 2010 5:03 pm

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

Post by jazluvr »

fanlynne wrote:Most of googles extentions enable the tracking, and i asked if this does too, but they won't answer me. Speaking of which, it made my last post sound a bit offense, cuz it re-arranged the wording
i copied and pasted this from a post i made about google add-ons tracking you.
-----------------------
"I have been seeing quite a few posts asking for chrome extensions for iron. Let me show you something.

I just tried to install chromes adblock in iron, and i got a pop-up saying...

install adblock?

This extension can access:
Your data on all websites
Your browsing history

This is true for many of chromes add-ons. Mostly because they are connected to a server and auto-update."
------------------------------------

Fanboys adblocker and the auto-updater poster here by OTHER members are just lists posted on his website. You either go to the site prevelant to you, copy his list and update your adblock list or use the auto updater, which just downloads an updated list and applies it to your adblock.ini file. You are not being tracked by them.

But one would have to live in a cave to be "off the grid" completely.
mamont
Posts: 13
Joined: Tue Nov 08, 2011 8:21 am

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

Post by mamont »

how to add their filters from a text file? myfilter.txt
in adblock-update.js

Code: Select all

http = new ActiveXObject("Microsoft.XMLHTTP")
fso = new ActiveXObject("Scripting.FileSystemObject")
f=fso.CreateTextFile(file="... your destination .../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()
"... your destination .../adblock.ini" + "... your destination .../myfilter.txt"
ironuser
Posts: 388
Joined: Mon Feb 01, 2010 12:29 am

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

Post by ironuser »

I don't know how to add it to the script you posted, but here is a 'zippedp version of a Javascript that will get fanboy's Iron list, and add your 'myfile' data to it. your data will be appended to the bottom of the adblock.ini file created by the script in the Iron install folder.
You may need to adapt it to your version of Windows, and your folder locations.
IronAdblock-ini-file-with-myfile.zip
You do not have the required permissions to view the files attached to this post.
mamont
Posts: 13
Joined: Tue Nov 08, 2011 8:21 am

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

Post by mamont »

this is almost http://www.srware.net/forum/viewtopic.p ... 1971#p6800
No. not properly.
three sites.
1. https.../hg/opera/urlfilter.ini
2. https.../hg/opera/urlfilter-stats.ini
3. https.../hg/opera/urlfilter-rus.ini
ironuser
Posts: 388
Joined: Mon Feb 01, 2010 12:29 am

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

Post by ironuser »

The script zip I posted uses fanboy's list for Iron.
The three you listed are 'converted' from Opera to Iron format using another script. I forgot who provided that one.
They work in the converted form, but I found a few things that caused me problems, so I reverted to the Iron list by fanboy.
I don't claim to be an expert her. Far from it! I got the scripts form inhere, and modified them for MY use, but as these type of things seem to disappear from the Iron forums, I posted in response to another users request.
If you find problems with it, them don't use it!
ext0l
Posts: 2
Joined: Tue Dec 06, 2011 3:42 am

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

Post by ext0l »

where do I put the adblock.ini file? By the way I am using Ubuntu.
Post Reply