So., 22 Juni 2025 20:18:41 +0200

Page Reload mit JavaScript

-


Letztes Update am Di., 25 Juni 2024 18:01:02 +0200 von Andreas Potthoff


Hier einige Beispiele wie man mit JavaScript eine Seite reloaden kann:

Links:

<a href="javascript:location.reload(true)">Reload Page</a>
<a href="javascript:refresh()">Reload Page</a>

Buttons:

<input type="button" value="Reload Page" onClick="window.location.reload()">
<input type="button" value="Reload Page" onClick="history.go(0)">
<input type="button" value="Reload Page" onClick="window.location.href=window.location.href">
<input type="button" value="Reload Page" onClick="document.location.reload(true)">
<input type="button" value="Reload Page" onclick="refresh()">

Die Beispiele können auch entsprechend angepasst werden. Hier noch 535 weitere Möglichkeiten:

location = location
location = location.href
location = location
location = self.location
location = self.location.href
location = self.location
location = self
location = self.href
location = self
location = window.location
location = window.location.href
location = window.location
location = window
location = window.href
location = window
location.assign(location)
location.assign(location.href)
location.assign(location)
location.assign(self.location)
location.assign(self.location.href)
location.assign(self.location)
location.assign(self)
location.assign(self.href)
location.assign(self)
location.assign(window.location)
location.assign(window.location.href)
location.assign(window.location)
location.assign(window)
location.assign(window.href)
location.assign(window)
location.href = location
location.href = location.href
location.href = location
location.href = self.location
location.href = self.location.href
location.href = self.location
location.href = self
location.href = self.href
location.href = self
location.href = window.location
location.href = window.location.href
location.href = window.location
location.href = window
location.href = window.href
location.href = window
location.reload()
location.replace(location)
location.replace(location.href)
location.replace(location)
location.replace(self.location)
location.replace(self.location.href)
location.replace(self.location)
location.replace(self)
location.replace(self.href)
location.replace(self)
location.replace(window.location)
location.replace(window.location.href)
location.replace(window.location)
location.replace(window)
location.replace(window.href)
location.replace(window)
location(location)
location(location.href)
location(location)
location(self.location)
location(self.location.href)
location(self.location)
location(self)
location(self.href)
location(self)
location(window.location)
location(window.location.href)
location(window.location)
location(window)
location(window.href)
location(window)
location = location
location = location.href
location = location
location = self.location
location = self.location.href
location = self.location
location = self
location = self.href
location = self
location = window.location
location = window.location.href
location = window.location
location = window
location = window.href
location = window
location()
location(location)
location(location.href)
location(location)
location(self.location)
location(self.location.href)
location(self.location)
location(self)
location(self.href)
location(self)
location(window.location)
location(window.location.href)
location(window.location)
location(window)
location(window.href)
location(window)
self.location = location
self.location = location.href
self.location = location
self.location = self.location
self.location = self.location.href
self.location = self.location
self.location = self
self.location = self.href
self.location = self
self.location = window.location
self.location = window.location.href
self.location = window.location
self.location = window
self.location = window.href
self.location = window
self.location.assign(location)
self.location.assign(location.href)
self.location.assign(location)
self.location.assign(self.location)
self.location.assign(self.location.href)
self.location.assign(self.location)
self.location.assign(self)
self.location.assign(self.href)
self.location.assign(self)
self.location.assign(window.location)
self.location.assign(window.location.href)
self.location.assign(window.location)
self.location.assign(window)
self.location.assign(window.href)
self.location.assign(window)
self.location.href = location
self.location.href = location.href
self.location.href = location
self.location.href = self.location
self.location.href = self.location.href
self.location.href = self.location
self.location.href = self
self.location.href = self.href
self.location.href = self
self.location.href = window.location
self.location.href = window.location.href
self.location.href = window.location
self.location.href = window
self.location.href = window.href
self.location.href = window
self.location.reload()
self.location.replace(location)
self.location.replace(location.href)
self.location.replace(location)
self.location.replace(self.location)
self.location.replace(self.location.href)
self.location.replace(self.location)
self.location.replace(self)
self.location.replace(self.href)
self.location.replace(self)
self.location.replace(window.location)
self.location.replace(window.location.href)
self.location.replace(window.location)
self.location.replace(window)
self.location.replace(window.href)
self.location.replace(window)
self.location(location)
self.location(location.href)
self.location(location)
self.location(self.location)
self.location(self.location.href)
self.location(self.location)
self.location(self)
self.location(self.href)
self.location(self)
self.location(window.location)
self.location(window.location.href)
self.location(window.location)
self.location(window)
self.location(window.href)
self.location(window)
self.location = location
self.location = location.href
self.location = location
self.location = self.location
self.location = self.location.href
self.location = self.location
self.location = self
self.location = self.href
self.location = self
self.location = window.location
self.location = window.location.href
self.location = window.location
self.location = window
self.location = window.href
self.location = window
self.location()
self.location(location)
self.location(location.href)
self.location(location)
self.location(self.location)
self.location(self.location.href)
self.location(self.location)
self.location(self)
self.location(self.href)
self.location(self)
self.location(window.location)
self.location(window.location.href)
self.location(window.location)
self.location(window)
self.location(window.href)
self.location(window)
self = location
self = location.href
self = location
self = self.location
self = self.location.href
self = self.location
self = self
self = self.href
self = self
self = window.location
self = window.location.href
self = window.location
self = window
self = window.href
self = window
self.assign(location)
self.assign(location.href)
self.assign(location)
self.assign(self.location)
self.assign(self.location.href)
self.assign(self.location)
self.assign(self)
self.assign(self.href)
self.assign(self)
self.assign(window.location)
self.assign(window.location.href)
self.assign(window.location)
self.assign(window)
self.assign(window.href)
self.assign(window)
self.href = location
self.href = location.href
self.href = location
self.href = self.location
self.href = self.location.href
self.href = self.location
self.href = self
self.href = self.href
self.href = self
self.href = window.location
self.href = window.location.href
self.href = window.location
self.href = window
self.href = window.href
self.href = window
self.reload()
self.replace(location)
self.replace(location.href)
self.replace(location)
self.replace(self.location)
self.replace(self.location.href)
self.replace(self.location)
self.replace(self)
self.replace(self.href)
self.replace(self)
self.replace(window.location)
self.replace(window.location.href)
self.replace(window.location)
self.replace(window)
self.replace(window.href)
self.replace(window)
self(location)
self(location.href)
self(location)
self(self.location)
self(self.location.href)
self(self.location)
self(self)
self(self.href)
self(self)
self(window.location)
self(window.location.href)
self(window.location)
self(window)
self(window.href)
self(window)
self = location
self = location.href
self = location
self = self.location
self = self.location.href
self = self.location
self = self
self = self.href
self = self
self = window.location
self = window.location.href
self = window.location
self = window
self = window.href
self = window
self()
self(location)
self(location.href)
self(location)
self(self.location)
self(self.location.href)
self(self.location)
self(self)
self(self.href)
self(self)
self(window.location)
self(window.location.href)
self(window.location)
self(window)
self(window.href)
self(window)
window.location = location
window.location = location.href
window.location = location
window.location = self.location
window.location = self.location.href
window.location = self.location
window.location = self
window.location = self.href
window.location = self
window.location = window.location
window.location = window.location.href
window.location = window.location
window.location = window
window.location = window.href
window.location = window
window.location.assign(location)
window.location.assign(location.href)
window.location.assign(location)
window.location.assign(self.location)
window.location.assign(self.location.href)
window.location.assign(self.location)
window.location.assign(self)
window.location.assign(self.href)
window.location.assign(self)
window.location.assign(window.location)
window.location.assign(window.location.href)
window.location.assign(window.location)
window.location.assign(window)
window.location.assign(window.href)
window.location.assign(window)
window.location.href = location
window.location.href = location.href
window.location.href = location
window.location.href = self.location
window.location.href = self.location.href
window.location.href = self.location
window.location.href = self
window.location.href = self.href
window.location.href = self
window.location.href = window.location
window.location.href = window.location.href
window.location.href = window.location
window.location.href = window
window.location.href = window.href
window.location.href = window
window.location.reload()
window.location.replace(location)
window.location.replace(location.href)
window.location.replace(location)
window.location.replace(self.location)
window.location.replace(self.location.href)
window.location.replace(self.location)
window.location.replace(self)
window.location.replace(self.href)
window.location.replace(self)
window.location.replace(window.location)
window.location.replace(window.location.href)
window.location.replace(window.location)
window.location.replace(window)
window.location.replace(window.href)
window.location.replace(window)
window.location(location)
window.location(location.href)
window.location(location)
window.location(self.location)
window.location(self.location.href)
window.location(self.location)
window.location(self)
window.location(self.href)
window.location(self)
window.location(window.location)
window.location(window.location.href)
window.location(window.location)
window.location(window)
window.location(window.href)
window.location(window)
window.location = location
window.location = location.href
window.location = location
window.location = self.location
window.location = self.location.href
window.location = self.location
window.location = self
window.location = self.href
window.location = self
window.location = window.location
window.location = window.location.href
window.location = window.location
window.location = window
window.location = window.href
window.location = window
window.location()
window.location(location)
window.location(location.href)
window.location(location)
window.location(self.location)
window.location(self.location.href)
window.location(self.location)
window.location(self)
window.location(self.href)
window.location(self)
window.location(window.location)
window.location(window.location.href)
window.location(window.location)
window.location(window)
window.location(window.href)
window.location(window)
window = location
window = location.href
window = location
window = self.location
window = self.location.href
window = self.location
window = self
window = self.href
window = self
window = window.location
window = window.location.href
window = window.location
window = window
window = window.href
window = window
window.assign(location)
window.assign(location.href)
window.assign(location)
window.assign(self.location)
window.assign(self.location.href)
window.assign(self.location)
window.assign(self)
window.assign(self.href)
window.assign(self)
window.assign(window.location)
window.assign(window.location.href)
window.assign(window.location)
window.assign(window)
window.assign(window.href)
window.assign(window)
window.href = location
window.href = location.href
window.href = location
window.href = self.location
window.href = self.location.href
window.href = self.location
window.href = self
window.href = self.href
window.href = self
window.href = window.location
window.href = window.location.href
window.href = window.location
window.href = window
window.href = window.href
window.href = window
window.reload()
window.replace(location)
window.replace(location.href)
window.replace(location)
window.replace(self.location)
window.replace(self.location.href)
window.replace(self.location)
window.replace(self)
window.replace(self.href)
window.replace(self)
window.replace(window.location)
window.replace(window.location.href)
window.replace(window.location)
window.replace(window)
window.replace(window.href)
window.replace(window)
window(location)
window(location.href)
window(location)
window(self.location)
window(self.location.href)
window(self.location)
window(self)
window(self.href)
window(self)
window(window.location)
window(window.location.href)
window(window.location)
window(window)
window(window.href)
window(window)
window = location
window = location.href
window = location
window = self.location
window = self.location.href
window = self.location
window = self
window = self.href
window = self
window = window.location
window = window.location.href
window = window.location
window = window
window = window.href
window = window
window()
window(location)
window(location.href)
window(location)
window(self.location)
window(self.location.href)
window(self.location)
window(self)
window(self.href)
window(self)
window(window.location)
window(window.location.href)
window(window.location)
window(window)
window(window.href)
window(window)

Quelle: www.phpied.com/files/location-location/location-location.html

image_pdfimage_print
Andreas Potthoffhttps://electrodrome.net
Computer-Nerd seit der ersten 8-bit Generation (1981), SysOp, IT-Spezialist, System Administrator, Webmaster, Maker...

1 Kommentar

1 1 vote
Artikel Bewertung
Datenschutz
1 Kommentar
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Frank S.
Gast
2 Jahre zuvor

Mehr geht nicht?! 🙂

Related Stories

1
0
Would love your thoughts, please comment.x