Baseline Widely available
The reload()
method of the Location
interface reloads the current URL, like the Refresh button.
forceGet
Non-standard
Pass true
to force a reload bypassing the cache. Defaults to false
. Only supported in Firefox.
None (undefined
).
SecurityError
DOMException
Thrown if the origin of the script calling the method is not the same origin of the page originally described by the Location
object, mostly when the script is hosted on a different domain.
// reload the current page
window.location.reload();
Specifications Browser compatibility See also
Location
interface it belongs to.Location.assign()
and Location.replace()
.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3