Page 1 of 1
option: block external scripts?
Posted: Mon Apr 17, 2006 10:52 pm
by Guest
Is there an extension to block all external scripts? Or could this be build into Adblock Plus?
Example:
I am at
http://p2.forumforfree.com and here are two external Scripts (Google Adsense and Google Analytics). And since most ads are loaded from external pages, this would make adblocking more easy.
Re: option: block external scripts?
Posted: Mon Apr 17, 2006 11:19 pm
by adum
There are some extensions able to manage scripts, NoScript is probably the most famous one.
Possibility of blocking third-party scripts is also planned for ABP, see
changelog
Posted: Mon Apr 24, 2006 1:06 pm
by Anonymous Coward
Also automatic detection and blocking of local scripts that connect or load something from 3rd party servers would be nice.
Posted: Mon Apr 24, 2006 1:34 pm
by Peng
Anonymous Coward wrote:Also automatic detection and blocking of local scripts that connect or load something from 3rd party servers would be nice.
Scanning through scripts sounds way too intensive... If you set the sidebar to be unsorted, the next images or frames after a script are usually the ones caused by it.
Posted: Fri Sep 22, 2006 1:54 pm
by pirlouy
Blocking external scripts is not in the Todo list anymore. Is this due to the conclusion of these bugs:
https://bugzilla.mozilla.org/show_bug.cgi?id=331510 and
https://bugzilla.mozilla.org/show_bug.cgi?id=342314 ?
Wladimir, is it possible to deal with hotstperm.1 ?
for now, I try stuff like that:
Code: Select all
host script 3 com
host script 3 fr
host script 3 org
host script 3 net
host script 3 de
But it is not very well integrated with AB+, which continues to display scripts in elements list.
It would be great if there were possibility to use white-list...
Posted: Fri Sep 22, 2006 4:06 pm
by Wladimir Palant
@Anonymous Coward: The possibility to block third-party content was already planned for 0.7.1 but I had to drop it because I found issues that were too difficult to solve before the release. I might take another attempt on this for 0.7.2.
@pirlouy: Ah, bug 331510 has been fixed - nice. Unfortunately we won't be able to use this feature before Firefox 3.0 (judging from comments in bug 342314 it is very unlikely that this gets into Firefox 2.0).
As to hostperm.1 - no, this would be too difficult to integrate in Adblock Plus, not worth it. Actually, the browser registers a number of different content policies and Adblock Plus is just "lucky" to be called first. You could probably edit the file compreg.dat in your profile and move this line down in the list of content policies:
Code: Select all
content-policy,@mozilla.org/adblockplus;1,@mozilla.org/adblockplus;1