Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

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.