I’d say use hash, like this:
window.onload = function() {
if(!window.location.hash) {
window.location = window.location + '#loaded';
window.location.reload();
}
}
More Related Contents:
- How can I refresh a page with jQuery?
- How do I refresh a page using JavaScript?
- Prevent any form of page refresh using jQuery/Javascript
- Prevent Page Load on Jquery Form Submit with None Display Button
- How do I reload a page without a POSTDATA warning in Javascript?
- How to stop refreshing page after ajax call?
- Button that refreshes the page on click
- refresh div with jquery
- JQuery Modal Boxes and Iframe
- How to detect Ctrl+V, Ctrl+C using JavaScript?
- detect back button click in browser [duplicate]
- Making custom right-click context menus for my web-app
- How to run two jQuery animations simultaneously?
- Setting query string using Fetch GET request
- Get query string parameters url values with jQuery / Javascript (querystring)
- How to have jQuery restrict file types on upload?
- Drop-down box dependent on the option selected in another drop-down box
- Selecting Part of String inside an Input Box with jQuery
- Simplest way to detect a pinch
- Avoid window jump to top when clicking #-links
- How to build simple tabs with jQuery?
- Dynamically refresh a part of the template when a variable is updated golang
- jQuery function not binding to newly added dom elements
- Is it possible to append a div inside an SVG element? [duplicate]
- Cancel single image request in html5 browsers
- Remove Datepicker Function dynamically
- How to use pagination on HTML tables?
- Add javascript pixel values?
- Show select dropdown in jQuery? [duplicate]
- How do I add an integer value with javascript (jquery) to a value that’s returning a string?