Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Links of the Format "javascript: void (0)" Don't Work

  • 4 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi cor-el

more options

On several sites, links in the format javascript: void (0) don't work. A specific example is the attachment download links in Rackspace webmail. Though they are active, when clicked, nothing happens - normally, an attachment would download.

I am using the latest version of Firefox for OS X, I've tried clearing the cache, I've reset Firefox, I've used safe mode, and nothing works.

Suggestions?

Thanks.

On several sites, links in the format javascript: void (0) don't work. A specific example is the attachment download links in Rackspace webmail. Though they are active, when clicked, nothing happens - normally, an attachment would download. I am using the latest version of Firefox for OS X, I've tried clearing the cache, I've reset Firefox, I've used safe mode, and nothing works. Suggestions? Thanks.

Tất cả các câu trả lời (4)

more options

javascript:void(0) actually is a "do nothing" command. When sites use this in a link, they override it by adding a script to the link using another method, either onclick (in the link tag itself) or addEventListener (added after the page loads using a script).

It sounds as though the script is being blocked in your Firefox (possibly by security software that strips out scripts?) or the effect of the script is being blocked (possibly by an overly aggressive popup blocker?) or the script is failing for some reason (possibly cookie-related???).

Did this just start suddenly without any apparent cause, or can you associate it with a change such as upgrading from Firefox 30 to Firefox 31, or a change in other software on your Mac?

more options

You do not appear to have extensions that could be responsible for this blocking.

Did you already try to clear the cache and remove cookies only from websites that cause problems?

"Clear the Cache":

  • Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Firefox > Preferences > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
more options

This seems to have started happening on its own - no changes on my part.

more options

Try to reinstall Firefox.

Download a new copy of the Firefox application and save the disk image file to the desktop

Your personal data is stored elsewhere in the Firefox profile folder, so you won't lose your bookmarks and other personal data when you uninstall and (re)install Firefox.

If you keep having problems then try a new profile.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.