Hacker News new | past | comments | ask | show | jobs | submit login

BTW, how does y shortcut works? With what is bonded? What effects brings on other sites?



It's only for GitHub. GitHub has custom JavaScript on their site that listens to every key press. If they detect you pressed 'y', they look up the commit hash of the version of the code you are looking at and then set the page URL to a page that shows the code for that version.




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

Search: