Animating URLs with JavaScript and Emojis
11–20 of 173 posts
Re: Animating URLs with JavaScript and Emojis
#12Edit: nvm. Didn't realize it was in the hash section.
Re: Animating URLs with JavaScript and Emojis
#13Something like media controls, progress bars or even consent banners. This way they would have an unified appearance and could be user scriptable.
Re: Animating URLs with JavaScript and Emojis
#14Re: Animating URLs with JavaScript and Emojis
#15Re: Animating URLs with JavaScript and Emojis
#16Earlier quoted context omitted.
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?
For the Chrome part in any case it doesn't match my experience: under linux Chrome will happily update the url up to every 20ms (50Hz). At higher frequency it will throttle it saying that otherwise the UI would hang. The limit on Safari (which I cannot test) can be annoying in fact, but not as much as an URL updating 20 times per second :-)
By the way I also find the other reason for not using the History API to be a non-issue, since you can just use the location object to build the whole url from scratch, if you really want to
Re: Animating URLs with JavaScript and Emojis
#17URLs should be static, simple, and as short as is reasonable.
Re: Animating URLs with JavaScript and Emojis
#18"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
#19Earlier quoted context omitted.
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
#20No, we don't because it's stupid. Thank god e-mail spam doesn't seem to do this very much with subject lines, what is so wrong with putting TEXT where text belongs?
Welcome to Web 3.0, home of shitty memes and stupid emoji gimmicks