搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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..

所有回覆 (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.