Skip to content

Comment on 535 ways to reload the page with JavaScript

Comments

I was hoping for a bit more cleverness... that's (at least very nearly) just a combination of:

  location=              | combined with
  location.href=         |   
  location.assign()      |   location
  location.replace()     |   location.href
  -----------------------------------------
  location.reload()
and things that mean exactly the same thing. As others here have pointed out, why no meta tags? Form submissions? Surely there's another way or two as well. The lack of creativity in this list is rather astonishing - if it were sorted, it'd be merely annoying because of the blatant repetition.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.