Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to prevent specific JS scritps messing with browser (Firefox or Chrome)? For example some sites are blocking copy\paste functionality for input fields forcing user to type some text like an e-mail or password each time. And this is really annoying when you're working with sоme site which is asking password to do the simplest things each minute, especially annoying if you have a 25+ symbols in your password.
Disabling Java Script at all is not an option since the same web site form can rely on Ajax or have some "dynamic" JS elements and without them page is not working properly.

share|improve this question
1  
On a side note, its probably more secure to have a simpler password you are happy to type, than a complicated one you need to copy and paste. –  Toby Allen Aug 18 '13 at 12:16

2 Answers 2

You can find a solution here: http://stackoverflow.com/questions/6291916/disabling-loading-specific-javascript-files-with-firefox

Several options with Firefox:

Use the Addon "Adblock Plus". It will probably still accesses the js but does not execute it.

Use the Addon "Greasemonkey", which - when cofigured right - does not even touch the js-url. But its generally harder to configure right. ;)

Have a look at Firefox's buildin security policies: http://kb.mozillazine.org/Security_Policies Here you can block javascript on an url or even function-level

share|improve this answer

As oozic mentioned, you'll need to combine several techniques.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.