Live data from Hacker News

Animating URLs with JavaScript and Emojis

matthewrayfield.com

111–120 of 173 posts

Re: Animating URLs with JavaScript and Emojis

#111
post #74

Another perfect example of the childish activities of the web today. Remember the days when postings were about serious technical advancements and not random hobbyist activities?

What? Stuff like this is what made the web fun. At least he put it on his own blog instead of facebook.

Agreed, sometimes it's nice to take a break from all the serious development and do something fun.

Re: Animating URLs with JavaScript and Emojis

#113
post #54
post #36

Am I the only one thinking about buying many domain names to do the animation on the actual TLD ?

You can’t do this on the domain name, or even subdomain. Changing origin requires actual navigation, and would probably trigger loop detection.

It's probably possible to do fast enough if the site is nearly empty (just with a window.location.href script tag). But it would definitely trigger a full page rerender.

Re: Animating URLs with JavaScript and Emojis

#114
One downside is that it basically renders the back button useless. I ran the examples you provided (which were great fun!) and when I tried to get back to hackernews I realized each step in the animation had been added to my browser history

Re: Animating URLs with JavaScript and Emojis

#115
post #114

One downside is that it basically renders the back button useless. I ran the examples you provided (which were great fun!) and when I tried to get back to hackernews I realized each step in the animation had been added to my browser history

you can use replaceState for that and back will work fine

Re: Animating URLs with JavaScript and Emojis

#116

Another perfect example of the childish activities of the web today. Remember the days when postings were about serious technical advancements and not random hobbyist activities?

> Remember the days when postings were about serious technical advancements and not random hobbyist activities?

Not really no? Certainly not in the last 20 years at least.

Re: Animating URLs with JavaScript and Emojis

#120
post #115
post #114

One downside is that it basically renders the back button useless. I ran the examples you provided (which were great fun!) and when I tried to get back to hackernews I realized each step in the animation had been added to my browser history

you can use replaceState for that and back will work fine

I didn't really look at the code, mostly because I just found the idea interesting as I hadn't considered it. Kind of surprised that it's not using the history api to replace the hash.
Post reply on HN