Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

force reload when back_forward is clicked

var perfEntries = performance.getEntriesByType("navigation");

if (perfEntries[0].type === "back_forward") {
    location.reload(true);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #force #reload #clicked
ADD COMMENT
Topic
Name
9+4 =