搜尋 Mozilla 技術支援網站

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

Learn More

javascript links do not work on a website

  • 7 回覆
  • 42 有這個問題
  • 1 次檢視
  • 最近回覆由 KayGee

more options

There is a website that I have used for years and it has performed correctly. Recently, the links in the header of the page do not show the hyperlink, instead only show "javascript;". This occurs after I log into the site. These same links work perfectly in Microsoft Edge. I am currently using FireFox 53.0 (32bit).

I have cleared the cache, history and cookies. So far, there is only one site that I am aware of with this issue. I have been in contact with the developer, and they claim that this must be a browser setting issue, as they are able to access all links using all browsers without issue.

There is a website that I have used for years and it has performed correctly. Recently, the links in the header of the page do not show the hyperlink, instead only show "javascript;". This occurs after I log into the site. These same links work perfectly in Microsoft Edge. I am currently using FireFox 53.0 (32bit). I have cleared the cache, history and cookies. So far, there is only one site that I am aware of with this issue. I have been in contact with the developer, and they claim that this must be a browser setting issue, as they are able to access all links using all browsers without issue.

所有回覆 (7)

more options

hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, maybe an addon is interfering here...

Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems

more options

I launched firefox in safe mode; no change to the behavior. Logically, if this was a firefox problem, wouldn't it be affecting other websites I visit? For example, the links above on this page, "Ask A Question", "Inbox", "English", all have hyperlinks that display in the lower left corner of the page on hover. When clicked, I am directed to the page at which they point. If the issue was a firefox issue, why is it happening only on one website?

more options

is this a publicly accessible site you could share with us?

more options

Unfortunately, it is one of my vendors' websites. The links at the top of the page work perfectly BEFORE I log in; once I log in, the menu items are different (as they should be), but they do not function.

Here is the home page:

http://www.famefabrics.com/contentonl.../www.famefabrics.com.home.htm


I'm not sure that that will help, since everything works perfectly on this page.

more options

If you see the javascript; place holder then this means that the actual action is done via a JavaScript event handler or via an onclick attribute in the link. You should be able to see this if you inspect the link in the Inspector (right-click: Inspect Element). There is an 'ev' button appended to element that have an onclick handler attached.

more options

I had already used the Inspector. The links that work properly show the "href" in the html, but the links that do not work do not show any "href" in the code. There is no "ev" button associated with any of the links, whether they work or not.

more options

Could this be a problem of version 53.0 (32bit)? The problem I described was occurring on my work computer, but was not on my home computer. This weekend, FireFox updated to version 53.0 (32bit) at home and now I am experiencing this problem on the home computer as well. If this is the case, does anyone know the solution?