Animating URLs with JavaScript and Emojis
matthewrayfield.com
Animating URLs with JavaScript and Emojis
1–10 of 173 posts
Re: Animating URLs with JavaScript and Emojis
#2"Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should."
Re: Animating URLs with JavaScript and Emojis
#3Cool! It did however completely break my back button....
Re: Animating URLs with JavaScript and Emojis
#4Cool! It did however completely break my back button....
Because it manipulated the hash component directly.
By using the "replaceState" method of the history API [1] you could avoid polluting the browser's history.
[1] https://developer.mozilla.org/en-US/docs/Web/API/History_API
Re: Animating URLs with JavaScript and Emojis
#5Those idiots over at Google AMP are working on destroying the web when they could be working on something productive like this.
Re: Animating URLs with JavaScript and Emojis
#6Cool! It did however completely break my back button....
Because it manipulated the hash component directly. By using the "replaceState" method of the history API [1] you could avoid polluting the browser's history. [1] https://developer.mozilla.org/en-US/docs/Web/API/History_API
Didn't the article say the history API was throttled on Chrome and Safari?
Re: Animating URLs with JavaScript and Emojis
#7wavyurl.com works amazingly well on chrome mobile but firefox mobile just puts the unicode characters there. BOO!
Re: Animating URLs with JavaScript and Emojis
#8Cool! It did however completely break my back button....
Better trash the past hour of history since every animation is a separate history entry :D
Re: Animating URLs with JavaScript and Emojis
#9Re: Animating URLs with JavaScript and Emojis
#10This is equal parts terrible and fascinating. I hope no one will start doing this, but I love the idea and the quirkiness of the whole site!