为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

JavaScripts Not loading Suddenly in Firefox-10.0.2 ???

  • 3 个回答
  • 13 人有此问题
  • 7 次查看
  • 最后回复者为 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).