Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

I have no Javascript in FIREFOX (even though it is enabled under preferences) but DO have it in Safari. What can I do pse?

more options

I have Mac OS X (Version 10.6.8). I have latest Firefox AND have already tried downloading Javascript TWICE. Why do I have Javascript on Safari but not on Firefox? How can I fix this pse?

I have Mac OS X (Version 10.6.8). I have latest Firefox AND have already tried downloading Javascript TWICE. Why do I have Javascript on Safari but not on Firefox? How can I fix this pse?

被采纳的解决方案

A lot of JavaScript functionality was killed off in Firefox 7.0.1 and that includes typing or pasting javascript into the location bar (address bar). You had to jump through hoops for Firefox 6 -- now there are no viable solutions for a lot of what we do.

The alternatives within Firefox that might allow you hobble by are quite inadequate, I would say stick with what works for you for now,

Starting in Firefox 6 javascript in the url-bar runs with a null security principal for security reasons. This means it's almost disabled. You need a bookmarklet or an add-on for a workaround. See question 871828.
Bug 656433 - Disallow javascript: and data: URLs entered into the location bar from inheriting the principal of the currently-loaded page

Starting in Firefox 7 window moving and resizing is no longer allowed with a few exceptions. See question 880032.
Bug 565541 - Web sites shouldn't be allowed to resize main window The great AwesomeBar features of Firefox have been compromised so that searching of bookmarks from sidebar, library, or location bar is unreliable. You could always turn JavaScript off, and had some limitations if you expected or ran into trouble before but now Firefox simply does not perform well and it is all the more exasperating when you find out that most of the troubles result from stripping out code which results in errors slowing things down and now in blocking features that you expect in a browser.

定位到答案原位置 👍 0

所有回复 (3)

more options

选择的解决方案

A lot of JavaScript functionality was killed off in Firefox 7.0.1 and that includes typing or pasting javascript into the location bar (address bar). You had to jump through hoops for Firefox 6 -- now there are no viable solutions for a lot of what we do.

The alternatives within Firefox that might allow you hobble by are quite inadequate, I would say stick with what works for you for now,

Starting in Firefox 6 javascript in the url-bar runs with a null security principal for security reasons. This means it's almost disabled. You need a bookmarklet or an add-on for a workaround. See question 871828.
Bug 656433 - Disallow javascript: and data: URLs entered into the location bar from inheriting the principal of the currently-loaded page

Starting in Firefox 7 window moving and resizing is no longer allowed with a few exceptions. See question 880032.
Bug 565541 - Web sites shouldn't be allowed to resize main window The great AwesomeBar features of Firefox have been compromised so that searching of bookmarks from sidebar, library, or location bar is unreliable. You could always turn JavaScript off, and had some limitations if you expected or ran into trouble before but now Firefox simply does not perform well and it is all the more exasperating when you find out that most of the troubles result from stripping out code which results in errors slowing things down and now in blocking features that you expect in a browser.

more options

Thank you. I feel better in that I am so 'tech-compromised,' I assumed I messed up. Don't even know what add-ons or bookmarklets are. At the moment, when I hit sites that post messages to say I need to have JavaScript to use the site, I simply switch to the Safari browser.

Again, thanks for your help.

more options

I should have asked what site is telling you that you don't have JavaScript, since JavaScript is builtin or at least included in all browsers. Url please. Message would normally be that you have JavaScript turned off.

JavaScript and Java are not the same thing. Java would have to be installed though few sites and few Firefox extensions actually require it.


You're on a Mac OS X 10.6 and it looks to me like you have Java plugin ("Java Plug-In 2 for NPAPI Browsers"). You can check here by clicking on the "Verify installation" button at http://java.com/en/download/installed.jsp

When installing software only install what you needed, many otherwise "reputable" are suggesting and defaulting the installation of additional software categorically referred to as "crapware", and often difficult to remove particularly toolbars. Here is one example of added crapware...