搜尋 Mozilla 技術支援網站

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

Learn More

JavaScripts Not loading Suddenly in Firefox-10.0.2 ???

  • 3 回覆
  • 13 有這個問題
  • 15 次檢視
  • 最近回覆由 cor-el

more options

Firefox is not loading Java-scripts Suddenly, I tried in Safe-mode also, I have attached Screenshot. please take a look.

ScreenShot

Firefox is not loading Java-scripts Suddenly, I tried in Safe-mode also, I have attached Screenshot. please take a look. [http://dl.dropbox.com/u/40690073/Photos/firefox.png ScreenShot]

所有回覆 (3)

more options

I used to be able to enter any of these in the Firefox address bar or have the commands set as bookmarks on the toolbar ...

javascript:self.moveTo(80,80);self.resizeTo(250,250); javascript:self.moveTo(273,0);self.resizeTo(1134,screen.availHeight); javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);

With FF 10.0.2 on OSX 10.7.3 they no longer work.

I have all 3 options selected under Preferences/Content/Enable Javascript/Advanced.

What am I doing wrong?

more options

@mcook4

Please start a new thread for your question because you have a different question then the original poster.


You can no longer run JavaScript code via the location bar in Firefox 6 and later.
You can see an error message in the Tools > Error Console.
That code now gets a null principal for security reasons and doesn't have any effect (Bug 656433).

Use the Scratch pad (Firefox > Web Developer > Scratchpad; Shift+F4) to run JavaScript code.

Open a tab with an XUL page like about:addons (Tools > Addons) to be able to resize or move a window via JavaScript code in the Scratchpad in Firefox 9+ while that tab is selected.

  • chrome://mozapps/content/extensions/extensions.xul
more options

@VenomVendor:

Reload web page(s) and bypass the cache.

  • 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)

Clear the cache and the cookies from sites that cause problems.

"Clear the Cache":

  • Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"

"Remove Cookies" from sites causing problems:

  • Tools > Options > Privacy > Cookies: "Show Cookies"

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