Page 1 of 1

Knowing which script to allow for a blocked element I want

Posted: Wed May 14, 2014 10:00 pm
by jannerfish
If part of a webpage isn't functioning due to a script being blocked, can I tell which script to allow in order to regain functionality of the blocked element? Sometimes there are several scripts being blocked and I don't know which to allow except by trial and error.

eg, an 'expand image' button isn't working and noscript lists several blocked scripts - can I tell which script relates to the non-functioning button (other than trial and error)? Does right-clicking on a non-functioning element give me any info on which script it uses?

New to noscript and read through faq but couldn't find anything specific to my question. Wasn't sure what to search on forum - best I could find was info on cdn, static and img type appendices to urls.

Thanks.

Re: Knowing which script to allow for a blocked element I wa

Posted: Wed May 14, 2014 11:56 pm
by barbaz
Unfortunately it's mostly trial-and-error.

You can eliminate some choices by using Adblock Plus and adding subscriptions to block everything you don't want, and if a domain is explicitly blocked by ABP you can mark that script as Untrusted in NoScript. There's a good chance those won't be the scripts you're missing.

Re: Knowing which script to allow for a blocked element I wa

Posted: Thu May 15, 2014 7:26 am
by Thrawn
jannerfish wrote: eg, an 'expand image' button isn't working and noscript lists several blocked scripts - can I tell which script relates to the non-functioning button (other than trial and error)? Does right-clicking on a non-functioning element give me any info on which script it uses?
If you know enough about HTML and JavaScript, it is theoretically possible to examine the page source (the Inspect Element option on the context menu is good here), and investigate what the button uses.

Depending on the complexity of the JavaScript involved, that may take quite a bit of work and technical knowledge, though. Unfortunately it's not possible for NoScript to reliably know what something needs.