Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

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

javascript's window.location.href stopped working on FF 17.0.1

  • 5 replies
  • 4 have this problem
  • 89 views
  • Last reply by piyush23

I used window.location.href to navigate pages in my application. Suddenly it's not working anymore with upgrade to v 17.0.1

Still works in v16... but most of the company users upgraded to v17, and now it's a big proglem

WHAT TO DO?

I used window.location.href to navigate pages in my application. Suddenly it's not working anymore with upgrade to v 17.0.1 Still works in v16... but most of the company users upgraded to v17, and now it's a big proglem WHAT TO DO?

Chosen solution

solved. it was jquery issue. not sure how to delete topic

Read this answer in context 👍 1

All Replies (5)

Chosen Solution

solved. it was jquery issue. not sure how to delete topic

I'm having this issue. It works fine with the older versions but I have this issue specific to Firefox 17.0.1.

In my case It was JQuery call that was suddenly failing in 17.0.1

As a workaround I replaced it with direct "window.location.href" call

In my case I'm having issues with struts as well. I used your workaround but unfortunately it didn't work.

Any idea if this is a firefox bug?

The piece of code that I have is something like

"<a id="action_url" href="/abc/xyz" name="action_url">Data</a>"

abc/xyz is a struts action