option: block external scripts?

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
Guest

option: block external scripts?

Post 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.
adum
Posts: 131
Joined: Fri Jun 09, 2006 7:39 pm

Re: option: block external scripts?

Post 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
Anonymous Coward

Post by Anonymous Coward »

Also automatic detection and blocking of local scripts that connect or load something from 3rd party servers would be nice.
User avatar
Peng
Posts: 518
Joined: Fri Jun 09, 2006 8:14 pm
Location: Central Florida
Contact:

Post 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.
User avatar
pirlouy
Posts: 332
Joined: Sat Jun 10, 2006 2:33 pm
Location: France

Post 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...
Wladimir Palant

Post 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
Post Reply