We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.