News for hackers. Stuff that matters.
Re:Show HN: Chrome extension to put GitHub's header back to ... by simplehuman on Friday February 10, 2017 @05:58PM (#13619669)
Firefox user here. Is the code for this opensource by any chance? I will make a firefox extension :-)
Re:Show HN: Chrome extension to put GitHub's header back to ... by ryanfs on Friday February 10, 2017 @06:05PM (#13619715)
Re:Show HN: Chrome extension to put GitHub's header back to ... by simplehuman on Friday February 10, 2017 @06:29PM (#13619846)
Thanks!

For those who want to try on firefox:

1. clone the repo

2. about:debugging. Load temporary -> select any file in repo

BTW, did you not figure any other way other than setTimeout() ? There is a flicker because of that.

Re:Show HN: Chrome extension to put GitHub's header back to ... by ryanfs on Friday February 10, 2017 @06:55PM (#13619997)
It flickers for longer than what the timeout is set to, which makes me think that it takes a split second for the extension to run. But no, I couldn't figure out a better way to get it to fire than wrapping it in a timeout :( An event listener for DOMContentLoaded didn't do the trick either.
Re:Show HN: Chrome extension to put GitHub's header back to ... by pmontra on Friday February 10, 2017 @06:11PM (#13619743)
You can install stylish and add your own CSS to fix that. You'll be able to fix other sites as a bonus

https://addons.mozilla.org/en-US/firefox/addon/stylish/

Re:Show HN: Chrome extension to put GitHub's header back to ... by mp3geek on Friday February 10, 2017 @06:03PM (#13619708)
Works fine as a webextension under firefox nightly