How to make adblock for linux work

Iron Forum for english speaking people

Post Reply
Lazarus
Posts: 1
Joined: Thu Aug 20, 2009 6:37 pm

How to make adblock for linux work

Post by Lazarus »

I am using linux and put adblock.ini in the same directory as the iron-linux binary
Still adblock doesnt work. Any suggestions ?

Regards
Rune Jensen
User avatar
SRWare
Site Admin
Posts: 3247
Joined: Sat Jan 19, 2008 4:16 am

Re: How to make adblock work

Post by SRWare »

Currently our adblock is not yet supported in the Linux-version. But you can use adsweep instead.
Iron-Updates via Twitter: http://twitter.com/srware

Donations via Paypal and Bitcoin:
http://iron-start.com/spenden.php
nitroguy
Posts: 2
Joined: Thu Sep 10, 2009 4:41 am

Re: How to make adblock for linux work

Post by nitroguy »

... and how is that done? is there a tutorial somewhere?
rsmereka
Posts: 4
Joined: Mon Sep 14, 2009 8:13 pm

Re: How to make adblock for linux work

Post by rsmereka »

A freebie for you,

I managed to get Adsweep as a user script working for Iron under Lunix (Ubuntu 9.04). Here's how:

I stumbled upon a shell script in the Ubuntu forum that installs Google's Chrome under Ubuntu and carved up the script to only prepare the required directories and download Adsweep.

All you have to do is to make sure that you execute Iron with the

Code: Select all

--enable-user-scripts
option.

I tried to upload the shell script here but the '.sh' extension is not allowed, neither is no extension, neither is the '.txt' extension. I ran out of patience so here is the script, just copy and paste into a file, make the file executable and run it.

Code: Select all

#!/bin/bash
mkdir -p ~/.config/chromium/
mkdir -p ~/.config/chromium/Default/
mkdir -p ~/.config/chromium/Default/User\ Scripts
wget -qO ~/.config/chromium/Default/User\ Scripts/AdSweep.user.js http://www.adsweep.org/AdSweep.user.js

# don't forget to execute with the option --enable-user-scripts
One more task you need to be concerned about. Updates to the Adsweep file. Create a shell script from this:

Code: Select all

cd ~/.config/chromium/Default/User\ Scripts
wget -N -P . http://www.adsweep.org/AdSweep.user.js
Then run the shell script in a cron job to update once a day.

Enjoy,
Rick
Post Reply