We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

ابحث في الدعم

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 and Chrome reload the page on back event

  • 1 (رد واحد)
  • 4 have this problem
  • 9 views
  • آخر ردّ كتبه Hasan

more options

Hi guys,

We are developing an application with ASP.Net and C#. We have a back button (html link) on few pages, by clicking on back button it triggers the browser back event. So user will be able to see his last viewed results (by going only one level back).

We are calling "window.history.back();" function of Javascript to achieve this, but the problem is that its working fine in IE but not in Chrome and Firefox. Whenever user clicks on the back button, Chrome and Firefox reloads the page from server and execute all the server side events.

What we need is simply go to one step back without reloading or refreshing the page.

Please help...

Thank you for your time and help...

Hi guys, We are developing an application with ASP.Net and C#. We have a back button (html link) on few pages, by clicking on back button it triggers the browser back event. So user will be able to see his last viewed results (by going only one level back). We are calling "window.history.back();" function of Javascript to achieve this, but the problem is that its working fine in IE but not in Chrome and Firefox. Whenever user clicks on the back button, Chrome and Firefox reloads the page from server and execute all the server side events. What we need is simply go to one step back without reloading or refreshing the page. Please help... Thank you for your time and help...

Modified by dev_

All Replies (1)

more options

About:config Entries

http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries

Find the entry browser.backspace_action

Check and tell if its working.