Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to write code for browser back button in javascript

const inFromBack = performance && performance.getEntriesByType( 'navigation' ).map( nav => nav.type ).includes( 'back_forward' )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #write #code #browser #button #javascript
ADD COMMENT
Topic
Name
6+2 =