You are not logged in.
Pages: 1
How to add filters to adblock?
Offline
you can do global adblocking for your system with your /etc/hosts. check the wiki, its in there.
Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub
Offline
Just enable the adblock plugin, then Tools -> configure adverticing filters.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I added http://adblockplus.mozdev.org/easylist/easylist.txt but it doesn't seem to work.
Last edited by heyya (2010-01-15 20:39:22)
Offline
I went to the easylist site and copied the link of the easy list adblockers
https://easylist-downloads.adblockplus.org/easylist.txt
https://easylist-downloads.adblockplus. … rivacy.txt
Then pasted it in the adblock option window, should look something like this
Sometimes you need to restart the browser for it to take effect though
Offline
How to add filters to adblock?
you can do global adblocking for your system with your /etc/hosts.
#!/bin/dash
### MVPS Hosts Updater #########
# Version 0.2 by Scott Garrett #
# Wintervenom [(at)] gmail.com #
################################
[ $UID != 0 ] && {
echo 'Must be executed as root.'
exit 1
}
# Download the MVPS hosts file.
wget -c -O /tmp/hosts.txt http://www.mvps.org/winhelp2002/hosts.txt
# Be paranoid and replace every IP address with 0.0.0.0. After that,
# correct the entry for localhost, and also add the IPV6 localhost to
# make programs like MPD happy.
sed -i -r -e 's:^([0-9]{1,3}\.){3}[0-9]{1,3}:0.0.0.0:' -e "s:^.*localhost.$:127.0.0.1 localhost `hostname`\n\:\:1 localhost `hostname`:" /tmp/hosts.txt
# Write this new list over the system hosts list. MVPS' line feeds
# are \n\r; we will be getting rid of those dirty carriage returns.
cat /tmp/hosts.txt | tr -d "\r" > /etc/hosts
rm /tmp/hosts.txt
Last edited by Wintervenom (2010-01-16 00:01:57)
Offline
I went to the easylist site and copied the link of the easy list adblockers
https://easylist-downloads.adblockplus.org/easylist.txt
https://easylist-downloads.adblockplus. … rivacy.txt
Then pasted it in the adblock option window, should look something like this
Sometimes you need to restart the browser for it to take effect though
that address is wrong. It should begin with "http://" and not with "https://". Moreover, if you look calefully at what you've copied, you'll notice that midori wrongly "translates" https:// into http:://.
Another approach to archieve the adblock effect is to edit the config file of the filter as follows
[kjon@kjon-nc10 ~]$ cat .config/midori/extensions/libadblock.so/config
[settings]
filters=http://adblockplus.mozdev.org/easylist/easylist.txt;
They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.
Offline
I had followed the steps to set the filters but still it doesn't work as good as in arora. I guess I should rely on the "hosts file" method or maybe switch to arora.
Last edited by heyya (2010-01-16 06:22:19)
Offline
Pages: 1