Skip to content

Instantly share code, notes, and snippets.

View forsgren's full-sized avatar

Kristoffer Forsgren forsgren

View GitHub Profile
function reloadThisPagePlz() {
var reload_variants=["location=location","location=location.href","location=window.location","location=self.location","location=window.location.href","location=self.location.href","location=location['href']","location=window['location']","location=window['location'].href","location=window['location']['href']","location=window.location['href']","location=self['location']","location=self['location'].href","location=self['location']['href']","location=self.location['href']","location.assign(location)","location.replace(location)","window.location.assign(location)","window.location.replace(location)","self.location.assign(location)","self.location.replace(location)","location['assign'](location)","location['replace'](location)","window.location['assign'](location)","window.location['replace'](location)","window['location'].assign(location)","window['location'].replace(location)","window['location']['assign'](location)","window['location']['replace'](location)","self.location['assi

Keybase proof

I hereby claim:

  • I am forsgren on github.
  • I am forsgren (https://keybase.io/forsgren) on keybase.
  • I have a public key whose fingerprint is DCEF ADC2 8558 3417 3AAF A446 1B07 913F 6353 392F

To claim this, I am signing this object: