Simrou icon indicating copy to clipboard operation
Simrou copied to clipboard

How to updates location.hash but NOT resolve URL

Open ziazon opened this issue 9 years ago • 1 comments

as far as I can tell, the only way to do this is the following:

window.history.pushState({"page":url},"", url);

Any plans on creating a short cut for this one? :)

ziazon avatar Nov 19 '15 03:11 ziazon

When would that be useful?

nlessmann avatar Apr 06 '16 21:04 nlessmann