Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why firefox doesn't display js properly with javascript view activated

more options

I am viewing JavaScript lessions and the lessons test to see javascript view is installed and activated. I installed the javascript view and activated it and it still does not display as the lessions say it should. The display of the code is as a negative with the background black and the letters white and not a box with "hello world" displayed..

I am viewing JavaScript lessions and the lessons test to see javascript view is installed and activated. I installed the javascript view and activated it and it still does not display as the lessions say it should. The display of the code is as a negative with the background black and the letters white and not a box with "hello world" displayed..

All Replies (2)

more options

Note that current Firefox releases have a built-in JavaScript beautifier available as the jsb command in the developer toolbar (Shift+F2).
This can also be used with all text (JavaScript) files and not only with files that the JavaScript viewer extension detects.

more options

Does the viewer have a button to actually run the script? If not, try running it from inside a web page.