NoScript re-enabling firefox Javascript + suggestions
Posted: Fri Aug 17, 2012 3:07 pm
Hi guys, I have a feature suggestion and kind of a bug to report, not sure it is NoScript or Firefox fault or both. Anyway, here is the way to reproduce it:
#STEPS TO REPRODUCE THE BUG#
- Install firefox
- Set firefox not to enable javascript (Tools>Options menu)
- Install NoScript
- Empty the NoScript white list
At this point, no JavaScript should run on web pages, right? Let's try:
- search for "crap" on google
- hoover the first result, you see a redirection by checking* the status bar like this: http://techdows.com/wp-content/uploads/ ... ooltip.png
(It is visible in the result page html source, look for "url?q=")
- hoover again: the redirection is now masked!
#CONCLUSION#
Installing NoScript partially re-enables javascript execution on web pages while "enable JavaScript" setting is disabled in Firefox.
NoScript is included in ToR Browser Bundle so I think it deserves a fix!
---
#ADDITIONNAL FEATURE REQUEST#
*Problem*
Facebook can be used easily with JavaScript disabled from FFox options and without using NoScript.
Facebook is not usable with Javascript enabled from FFox options and using NoScript.
*Fix*
Add an options to NoScript so a tab can behave as if JavaScript would be disabled from FFox.
---
*The URL shown in the status bar is not a reliable information on Firefox as it can be modifierd using JavaScript, see bug reports:
Bug 474967 - (CVE-2009-0253) Firefox Displays Invalid Link On Mouse-Over Hyperlink https://bugzilla.mozilla.org/show_bug.cgi?id=474967
Bug 705153 - Link target can be spoofed (Links on Facebook) https://bugzilla.mozilla.org/show_bug.cgi?id=705153
Bug 83578 - Differentiate between status bar text from UI and from Web pages (blind links) https://bugzilla.mozilla.org/show_bug.cgi?id=83578
Bug 325274 - [meta] Spoofing link destinations in the status bar https://bugzilla.mozilla.org/show_bug.cgi?id=325274
Workarounds:
Selectively disable specific JavaScript functions. http://forums.mozillazine.org/viewtopic ... 8&t=556659
Configurable Security Policies http://www.mozilla.org/projects/securit ... ml#whatare
making security policies: http://kb.mozillazine.org/Security_Poli ... y_Policies
A brief guide to Mozilla preferences https://developer.mozilla.org/en-US/doc ... #modifying
---
DoNcK
#STEPS TO REPRODUCE THE BUG#
- Install firefox
- Set firefox not to enable javascript (Tools>Options menu)
- Install NoScript
- Empty the NoScript white list
At this point, no JavaScript should run on web pages, right? Let's try:
- search for "crap" on google
- hoover the first result, you see a redirection by checking* the status bar like this: http://techdows.com/wp-content/uploads/ ... ooltip.png
(It is visible in the result page html source, look for "url?q=")
- hoover again: the redirection is now masked!
#CONCLUSION#
Installing NoScript partially re-enables javascript execution on web pages while "enable JavaScript" setting is disabled in Firefox.
NoScript is included in ToR Browser Bundle so I think it deserves a fix!
---
#ADDITIONNAL FEATURE REQUEST#
*Problem*
Facebook can be used easily with JavaScript disabled from FFox options and without using NoScript.
Facebook is not usable with Javascript enabled from FFox options and using NoScript.
*Fix*
Add an options to NoScript so a tab can behave as if JavaScript would be disabled from FFox.
---
*The URL shown in the status bar is not a reliable information on Firefox as it can be modifierd using JavaScript, see bug reports:
Bug 474967 - (CVE-2009-0253) Firefox Displays Invalid Link On Mouse-Over Hyperlink https://bugzilla.mozilla.org/show_bug.cgi?id=474967
Bug 705153 - Link target can be spoofed (Links on Facebook) https://bugzilla.mozilla.org/show_bug.cgi?id=705153
Bug 83578 - Differentiate between status bar text from UI and from Web pages (blind links) https://bugzilla.mozilla.org/show_bug.cgi?id=83578
Bug 325274 - [meta] Spoofing link destinations in the status bar https://bugzilla.mozilla.org/show_bug.cgi?id=325274
Workarounds:
Selectively disable specific JavaScript functions. http://forums.mozillazine.org/viewtopic ... 8&t=556659
Configurable Security Policies http://www.mozilla.org/projects/securit ... ml#whatare
making security policies: http://kb.mozillazine.org/Security_Poli ... y_Policies
A brief guide to Mozilla preferences https://developer.mozilla.org/en-US/doc ... #modifying
---
DoNcK