[ACCEPTED]-JavaScript to reload the page as GET request-refresh

Accepted answer
Score: 20

The best I've come up with so far is:

function reloadAsGet()
{
    var loc = window.location;
    window.location = loc.protocol + '//' + loc.host + loc.pathname + loc.search;
}

0

Score: 8

Try the following:

location.replace(location.href)

0

Score: 1

You can try this

location=location.href

0

More Related questions