Greetings, I was wondering if it would be possible to add a more granular setting to NoScript that would allow me to block specific scripts on a web site?
After searching through the forums I have seen similar questions responded to by suggesting the installation of the Controle de Scripts add-on for Firefox but that doesn't do exactly what I would like to do since it deals with JavaScript functionality instead of the scripts themselves. I would like to allow or disallow specific scripts from running on a page even if they perform the same functions. For instance, if there are two scripts that open a pop-up window I would like to choose to allow one of the scripts to run but not the other.
Thanks,
Ben
Script Specific Blocking
Script Specific Blocking
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Re: Script Specific Blocking
Rhetorical questions: What are scripts on a page? Where does a JS "script" begin and where end?
I guess you would probably see JS code in different <script> elements and every inline script as separate, but I am not even sure Firefox does internally any distinction of this sort and top of that how in the world should a user be able to control that?
I guess you would probably see JS code in different <script> elements and every inline script as separate, but I am not even sure Firefox does internally any distinction of this sort and top of that how in the world should a user be able to control that?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0
Re: Script Specific Blocking
Sorry, I posted this question, missed the reply and completely forgot about it until I needed it again.
I understand what you are saying and certainly agree but maybe if I describe what I want you can offer a better way to accomplish my goals.
I am on a website that uses javascript to render the page and disable right-click, this reinforces your whole point of "Where does a JS "script" begin and where end?" In IE I have the option to prompt me before a script runs. When I load a page I am prompted several times. If I accept the scripts that render the page and do not accept the scripts that provide "security" for the page I can show the vendor that this is not a good way to accomplish what they want because it requires trust in the client.
So, the real question is how can I leverage NoScript to only load the javascript functions that I want to load for a certain page and not others?
Thanks.
I understand what you are saying and certainly agree but maybe if I describe what I want you can offer a better way to accomplish my goals.
I am on a website that uses javascript to render the page and disable right-click, this reinforces your whole point of "Where does a JS "script" begin and where end?" In IE I have the option to prompt me before a script runs. When I load a page I am prompted several times. If I accept the scripts that render the page and do not accept the scripts that provide "security" for the page I can show the vendor that this is not a good way to accomplish what they want because it requires trust in the client.
So, the real question is how can I leverage NoScript to only load the javascript functions that I want to load for a certain page and not others?
Thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.861.0 Safari/535.2