搜尋 Mozilla 技術支援網站

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

了解更多

Firefox fails to load properly a page which calls javascripts. Error console displays error: Permission denied to get property Window.API

  • 1 回覆
  • 70 有這個問題
  • 6 次檢視
  • 最近回覆由 cor-el

more options

The problem, occurs with pages in a website which include simple Spanish language exercises. The pages in question call javascripts to allow users to complete the exercises interactively.

I am the author of the pages and when I open these pages as stored in my hard drive, Firefox (Vers 3.0.16) opens the pages OK.

However, when I request one of these page from the website server, Firefox (same version) displays the page as if it could not 'see' the script.

When I look at the Error Console, I see that it displays the error message: Permission denied to get property Window.API (the error message appears to refer to the corresponding javascrip (.js file)

Internet Explorer 7 opens the same pages without any problem.

The problem, occurs with pages in a website which include simple Spanish language exercises. The pages in question call javascripts to allow users to complete the exercises interactively. I am the author of the pages and when I open these pages as stored in my hard drive, Firefox (Vers 3.0.16) opens the pages OK. However, when I request one of these page from the website server, Firefox (same version) displays the page as if it could not 'see' the script. When I look at the Error Console, I see that it displays the error message: ''Permission denied to get property Window.API'' (the error message appears to refer to the corresponding javascrip (.js file) Internet Explorer 7 opens the same pages without any problem.

所有回覆 (1)

more options

No problems here with that page with Firefox 3.6.13 on Linux.


Reload the web page and bypass the cache with:

  • Press and hold Shift and left-click the Reload button.
  • Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • Press "Cmd + Shift + R" (MAC)

See Keyboard shortcuts - Perform common Firefox tasks quickly and Use mouse shortcuts to perform common tasks in Firefox


Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).

  • Don't make any changes on the Safe mode start window.

See: