Scripts disallowed on Web Developer tools

Ask for help about NoScript, no registration needed to post
dpmccabe
Posts: 4
Joined: Mon Jun 29, 2009 10:35 pm

Scripts disallowed on Web Developer tools

Post by dpmccabe »

I use the Web Developer extension and noticed an incompatibility between the current version of Noscript and that extension.

In the Web Developer toolbar, inside "Information > View Javascript" and "CSS > View CSS", the "Collapse All" and "Expand All" links no longer work with any of the Firefox 3.5 RCs and Noscript 1.9.5 (plus a few previous versions). The individual [-] buttons next to each file's header don't collapse the text, either.

Image

I have allowed about:blank, which is the domain that shows up in any of the Web Developer popup menus. The only way I can get those toggle links to work is to allow scripts globally.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Scripts disallowed on Web Developer tools

Post by Giorgio Maone »

Investigating, thanks for your report.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
notuo

Re: Scripts disallowed on Web Developer tools

Post by notuo »

Just to comment. The same is happening with the web developer option of view document size. The expand buttons doesn't work with noscript.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) FirePHP/0.3
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Scripts disallowed on Web Developer tools

Post by GµårÐïåñ »

Giorgio stated that he is investigating and I am sure if there is an issue that has not been resolved already, it will be handled when possible. Thank you for the report.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Scripts disallowed on Web Developer tools

Post by Giorgio Maone »

This doesn't depend on a change in NoScript, but on a change in Firefox 3.5 security: about:blank (which Web Developer "fills" dynamically with its report pages) cannot be enabled for scripting anymore if a security policy (like NoScript's) is installed.

Therefore only Web Developer's author Chris Pederick can fix this issue, by coding his pages in a way which allows their user interface to work even if content scripts are blocked.

It's not hard at all (NoScript makes it all the time, since it has elements like the plugin placeholder which necessarily need to work on non-scripted pages): all it takes is wiring the event handler from chrome, rather than embedding all the scripts inside the about:blank page itself.

I've commented on his site about this work-around.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
Guest

Re: Scripts disallowed on Web Developer tools

Post by Guest »

Well, I didn't be a pusher, just wanted to inform about another part with the same behavior.
At the end both Giorgio and Chris are in contact about this.
Let's hope for the best of both extensions.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) FirePHP/0.3
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3369
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Scripts disallowed on Web Developer tools

Post by GµårÐïåñ »

...since Web Developer works fine without it.
Chris needs to understand that just because it works doesn't mean its done right.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Post Reply