Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TazeTSchnitzel
on April 5, 2013
|
parent
|
context
|
favorite
| on:
URLs are for People, not Computers
I don't really want to add it to the user's history, though. Breaking the back button is bad.
duncans
on April 6, 2013
[–]
In that case you use `history.replaceState()`, or just plain old `window.location.replace('url')`
TazeTSchnitzel
on April 6, 2013
|
parent
[–]
Well, the latter would cause a reload, but the former sounds good. I'll try it, thanks!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: