pictures included by scripts

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
Master X
Posts: 66
Joined: Fri Jun 16, 2006 7:19 pm

pictures included by scripts

Post by Master X »

Is it possible to detect if a picture have been included by a javascript? Or even better, which script has loaded it?

But I do not know if this is possible to track down. Perhaps someone knows more.
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Re: pictures included by scripts

Post by rick752 »

Master X wrote:Is it possible to detect if a picture have been included by a javascript? Or even better, which script has loaded it?

But I do not know if this is possible to track down. Perhaps someone knows more.
there's a little trick I use for that. If I want to know if something is generated with JS, I just activate a:

*.js*

...filter.

If it doesn't show up on a reload, then I can assume that is is from js. After that you will have to find which one is doing it from the 'script' listings in the blockable items list.
User avatar
Peng
Posts: 518
Joined: Fri Jun 09, 2006 8:14 pm
Location: Central Florida
Contact:

Re: pictures included by scripts

Post by Peng »

rick752 wrote:After that you will have to find which one is doing it from the 'script' listings in the blockable items list.
To make that easier, most often you can find which script is the culprit by clicking on the headers in the sidebar so it won't be sorted, and see if the image is in the list immediatly after a script.
Matt Nordhoff
User avatar
rick752
Posts: 2709
Joined: Fri Jun 09, 2006 7:59 pm
Location: New York USA
Contact:

Re: pictures included by scripts

Post by rick752 »

Peng wrote: To make that easier, most often you can find which script is the culprit by clicking on the headers in the sidebar so it won't be sorted, and see if the image is in the list immediatly after a script.
Right you are, Peng. That is USUALLY the case (even though there are exceptions from time to time) ... but that would still be the best "first" way to check.
User avatar
Peng
Posts: 518
Joined: Fri Jun 09, 2006 8:14 pm
Location: Central Florida
Contact:

Post by Peng »

Yup. :)
Matt Nordhoff
Wladimir Palant

Post by Wladimir Palant »

Unfortunately Adblock Plus can't do this - Gecko doesn't give JavaScript access to the JavaScript stack (even though C++ code should be able to do this sort of thing).
Post Reply