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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I get this script to work with Firefox?

  • 3 respostas
  • 2 have this problem
  • 1 view
  • Last reply by Handwriter

more options

This "Go To Top of Page" button will not work with Firefox 5.0.What do I need to do inorder to have it function correctly?

This "Go To Top of Page" button will not work with Firefox 5.0.What do I need to do inorder to have it function correctly?

Chosen solution

Handwriter you are actually using Firefox 3.6.13 based on your useragent (look at end, not beginning). The Mozilla/5.0 is on all Firefox releases. Firefox 5.0 will not be out for quite some time yet as 4.0 has yet to be released.

Ler a resposta no contexto 👍 0

All Replies (3)

more options

#top only work if that link is present in the page code.

You can try this code:

<form><center><input type="button" value="Click to go to the top of the page." onclick="document.getElementsByTagName('html')[0].scrollTop=0;"></center></form>

cor-el modificouno o

more options

Chosen Solution

Handwriter you are actually using Firefox 3.6.13 based on your useragent (look at end, not beginning). The Mozilla/5.0 is on all Firefox releases. Firefox 5.0 will not be out for quite some time yet as 4.0 has yet to be released.

more options

cor-el,

Thank you. That worked just fine! Now the button works with most browsers.