Saturday, 11 February 2023

How to handle Android back buttton with JavaScript?

I'm making a WebView app for Android, using only HTML/CSS/JS, and i have to change the behaviour of the phone's back button in the navigation bar. (not the browser's back button.) How do i detect when the user clicks the back button of the phone and make my app do something? (WITH JAVASCRIPT.)



from How to handle Android back buttton with JavaScript?

No comments:

Post a Comment