Avatar for Username

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

How to disable the back and forward button in firefox browser. Is there any property having or any jquery function is having to solve this problem?

  • Καμία απάντηση
  • 1 έχει αυτό το πρόβλημα
  • 40 προβολές
more options

In browser having back button and forward button to help navigate the pages. But, in my application having 2 pages whenever am logged we are redirecting Home Page. In that( Home Page ) want to disable the back button. i am tried by using the jquery function like

<SCRIPT type="text/javascript">
    window.history.forward();
    function noBack() { window.history.forward(); }
</SCRIPT>
</HEAD>
<BODY onload="noBack();"
    onpageshow="if (event.persisted) noBack();" onunload="">

................

It's helping to not redirecting the previous page but Home page refreshing. So i want to avoid the refreshing the pages for that want to disable the back button.........

In browser having back button and forward button to help navigate the pages. But, in my application having 2 pages whenever am logged we are redirecting Home Page. In that( Home Page ) want to disable the back button. i am tried by using the jquery function like <br /> <pre><nowiki> <SCRIPT type="text/javascript"> window.history.forward(); function noBack() { window.history.forward(); } </SCRIPT> </HEAD> <BODY onload="noBack();" onpageshow="if (event.persisted) noBack();" onunload=""></nowiki></pre> ................<br /> It's helping to not redirecting the previous page but Home page refreshing. So i want to avoid the refreshing the pages for that want to disable the back button.........

Τροποποιήθηκε στις από το χρήστη cor-el