Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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

Firefox back button on iPhone takes several clicks to get back to previous page

  • 1 reply
  • 1 has this problem
  • 36 views
  • Last reply by barcelona2
  • Archived

Hi,

I am making a website mobile ready and have this issue on the iPhone:

Page A provides a link to page B. The link is not a simple <a href ...> but is triggered by javascript.

Now when I am on page B, scroll around and then want to get back to page A by clicking the back button, I have to click the button multiple times (like 6 to 7 times) before I actually get back to Page A. All those extra clicks keep me on page B until finally I get back to Page A.

Does someone know how to fix this in the javascript code which triggers the link?

Thanks a lot.

Hi, I am making a website mobile ready and have this issue on the iPhone: Page A provides a link to page B. The link is not a simple <a href ...> but is triggered by javascript. Now when I am on page B, scroll around and then want to get back to page A by clicking the back button, I have to click the button multiple times (like 6 to 7 times) before I actually get back to Page A. All those extra clicks keep me on page B until finally I get back to Page A. Does someone know how to fix this in the javascript code which triggers the link? Thanks a lot.

Modified by barcelona2

All Replies (1)

Solved it by adding "history" to the js