Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A game running in your browser's address bar (glench.com)
167 points by xvirk on March 1, 2015 | hide | past | favorite | 30 comments


And my history is now full.


Is that the reason why the title of the page is named "I'm sorry"?


Thanks for the warning. Better open that one in incognito mode to avoid this problem ;)


Clear Browser > Last Hour :)


I am using chrome 40, and the history tells nothing except my first visit.

Edit: Oh no, the back button was grayed out. I thought it affected nothing to my history. My thought is wrong. Completely wrong.


And it appears that there is no way to select all entries matching a search for deletion in Chrome's history. Deleting all browser history from the last hour solves it though! Thanks for the warning...


I highly recommend Better History. https://chrome.google.com/webstore/detail/better-history/obc...

It has quite a few features, and it groups visits by site untill you expand it. I easily deleted it all in one button click.


For those still about to try, use incognito mode.


Heads up for others. Open in incognito mode


Love the innovative thinking. Do you think there could realistically be any useful use-cases for this though?

I really wouldn't be able to think of any off the top of my head...


It demonstrates that you can use the address bar for animation. I imagine there might be a scenario where you'd want to try this for a progress bar or some other kind of status indicator.


I imagine there might be a scenario where you'd want to try this for a progress bar or some other kind of status indicator.

That used to be what the status bar was for, until scripts started modifying it to hide link destinations (onclick= etc.) so that ability was disabled for "security reasons". Now the status bar is gone completely from most browsers by default, but onclick= can still be used to obfuscate link destinations.

Also, status bar scrollers were rather common on the "old web"; they won't be missed, and I hope address bar scrollers don't start being the next "cool thing". It's a fun demo-effect, just not something I'd like to see all the time.


The simplicity of this is amazing. On top of that even if somebody figured this out I didn't expect the assortment of animations offered up in the first show off. Would have been impressed with just the shark, but the table flip made it really cool.


Along with all the Flappy Bird clones, somebody made something Flappy Braille: http://flappybraille.ndre.gr/


Since there are no negative comments yet, let me be the first - I like it, but hell it really can hang up the browser...


froze my browser too.


It seems to work better in firefox than chrome for me.


True, almost every site does for me.


To author, please use "location.replace" instead of "location.hash". -avid pewpew player.


Done! Thanks for the tip.


Fun stuff though I would call them animations not games


Check out "pewpew"


Hah I missed that one - fantastic creativity!


Pretty cool, if you ask me.


Hah, these are neat!


I love this :-D


Very clever, I just need a score on pewpew....


cool..hw does it work?


The code is all there to look at, just right click > view source for most desktop browsers.

But in brief, it's a fairly simple case of using JS to set "window.location.hash" to whatever value necessary. If you want to test this out, you can open your browser's JS console (on any website), and simply type something like this:

  window.location.hash="test"
and it'll update the URL displayed in your navigation bar.

Then it's just a case of using some JS code to generate the text to place in the navigation bar. It's quite a neat idea, but it's also pretty simple.


fantastic




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: