Knowing which script to allow for a blocked element I want

Ask for help about NoScript, no registration needed to post
jannerfish

Knowing which script to allow for a blocked element I want

Post 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.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
barbaz
Senior Member
Posts: 11163
Joined: Sat Aug 03, 2013 5:45 pm

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

Post 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.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

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

Post 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.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0
Post Reply