News for hackers. Stuff that matters.
Re:Animating URLs with JavaScript and Emojis by lifthrasiir on Wednesday April 17, 2019 @07:28AM (#19681570)
This page will wreck your browser history. The post explains the rationale at the end, but frankly speaking there should have been the warning for each checkbox.
Re:Animating URLs with JavaScript and Emojis by ballenf on Wednesday April 17, 2019 @09:47AM (#19682489)
Your comment made me realize that there are people who curate their browser history (other than just removing problematic stuff). Not criticizing, just never considered that was something anyone cared about.
Re:Animating URLs with JavaScript and Emojis by daveFNbuck on Wednesday April 17, 2019 @10:49AM (#19683036)
If you curate your browser history, this is an easy fix. This is more of a problem for people like me who occasionally check their browser history because they want to revisit a site they were on recently.
Re:Animating URLs with JavaScript and Emojis by ofrobots on Wednesday April 17, 2019 @10:47AM (#19683009)
It made the back button useless for me.
Re:Animating URLs with JavaScript and Emojis by craftycode on Wednesday April 17, 2019 @10:49AM (#19683032)
I didn't experience that using Chrome. What browser are you using?
Re:Animating URLs with JavaScript and Emojis by schemathings on Wednesday April 17, 2019 @02:58PM (#19685406)
Happened to me with Chrome on OS/X - no way back!
Re:Animating URLs with JavaScript and Emojis by archon810 on Thursday April 18, 2019 @01:45AM (#19688997)
Chrome on Android for me. Had to close the tab.
Re:Animating URLs with JavaScript and Emojis by uneekname on Wednesday April 17, 2019 @11:21AM (#19683346)
I had this problem in Chrome on linux.
Re:Animating URLs with JavaScript and Emojis by misterdoubt on Thursday April 18, 2019 @09:46PM (#19696396)
Same with Firefox on Android.
Re:Animating URLs with JavaScript and Emojis by core1024 on Wednesday April 17, 2019 @01:00PM (#19684318)
If you're using Firefox you can Control+H then right click on the site and select the option labeled "Forget About This Site". Done.
Re:Animating URLs with JavaScript and Emojis by NikkiA on Thursday April 18, 2019 @06:56PM (#19695516)
Wow, that took multiple minutes to run here.

Well done to the author of this hack on finding a way to dump massive amounts of data to firefox's sqlite store.

Re:Animating URLs with JavaScript and Emojis by grimgrin on Wednesday April 17, 2019 @04:04PM (#19685999)
Not tackling the same problem but in the spirit of removing things and Firefox, you can bring up a url in the address bar, press down arrow, press Delete, and it'll go away

It only deletes that very specific url though, like foo.com, however foo.com/bar will still exist

Re:Animating URLs with JavaScript and Emojis by lifthrasiir on Thursday April 18, 2019 @03:57AM (#19689477)
I think that only works before Sync replicates all those crufts to every other device.
Re:Animating URLs with JavaScript and Emojis by Diti on Wednesday April 17, 2019 @01:15PM (#19684442)
I’m on mobile. The checkboxes had no effect, the code run on its own by default. And I gave up on trying to go back to Lobsters by using the Back button.
Re:Animating URLs with JavaScript and Emojis by craftycode on Wednesday April 17, 2019 @10:48AM (#19683027)
It shouldn't. It uses history.replaceState(). https://developer.mozilla.org/en-US/docs/Web/API/History_API...
Re:Animating URLs with JavaScript and Emojis by alangpierce on Wednesday April 17, 2019 @11:34AM (#19683469)
It actually just updates window.location.hash instead, which does cause a flood of history entries (looks like just one per distinct animation state, though, at least in Chrome). See the "One Last Thing" section near the bottom of the article for the rationale. See the inline code snippets in the article, or view source for wavyurl.com to see the actual code used.
Re:Animating URLs with JavaScript and Emojis by eridius on Thursday April 18, 2019 @03:08AM (#19689278)
At least in Safari, history.replaceState() still pollutes the browser history, all it does is avoid breaking the back button.
Re:Animating URLs with JavaScript and Emojis by hyeomans on Wednesday April 17, 2019 @11:42AM (#19683533)
I think it also crashed LittleSnitch