News for hackers. Stuff that matters.
Re:Revert the GitHub dark header by mbrookes on Friday February 10, 2017 @06:33PM (#13619865)
Have to say, when I saw the dark top-bar, I presumed it must be part of another go-dark internet protest about something, and wondered why there was no announcement.

Glad to see I can get rid if it (in Chrome at least).

Re:Revert the GitHub dark header by ibujs on Saturday February 11, 2017 @04:10AM (#13621848)
Open the Console in developer tools and paste this in document.querySelector('.header').classList.remove('header-dark') Credits: https://www.reddit.com/r/programming/comments/5t9bnd/github_...
Re:Revert the GitHub dark header by ibujs on Saturday February 11, 2017 @09:04AM (#13622649)
Only works once tho on a page, just use when you're like, that's distracting, go away for a sec.
Re:Revert the GitHub dark header by wybiral on Friday February 10, 2017 @06:48PM (#13619949)
Yeah, I thought maybe someone important died but couldn't find any references.
Re:Revert the GitHub dark header by djh_ on Friday February 10, 2017 @06:41PM (#13619908)
I really dislike the dark header - it draws attention away from the content and towards the nav because the contrast is so great.
Re:Revert the GitHub dark header by wybiral on Friday February 10, 2017 @06:51PM (#13619974)
I remember when Google search stopped using underlines on their search result links... I couldn't stand it. Now I'd probably have the same reaction if they switched back.
Re:Revert the GitHub dark header by colept on Friday February 10, 2017 @08:34PM (#13620414)
They should make the rest of the site dark to match. Problem solved.
Re:Revert the GitHub dark header by mmastrac on Friday February 10, 2017 @06:47PM (#13619943)
Github should have used the eBay approach where you gradually alter your look to avoid triggering revolt. Fade the banner from light gray to dark gray over the period of a few months!

https://articles.uie.com/death_of_relaunch/

> At eBay, they learned the hard way that their users don’t like dramatic change. One day, the folks at eBay decided they no longer liked the bright yellow background on many of their pages, so they just changed it to a white background. Instantly, they started receiving emails from customers, bemoaning the change. So many people complained, that they felt forced to change it back.

Re:Revert the GitHub dark header by alfredxing on Friday February 10, 2017 @06:34PM (#13619872)
Mark Otto (@mdo) said that the `header-dark` class will be going away soon [1], so we can't be sure how long this extension will still be working.

Personally, I like the dark bar, though at first it was confusing since the dark bar is usually associated with GitHub Enterprise.

[1] https://twitter.com/mdo/status/830149416556191744

Re:Revert the GitHub dark header by tyteen4a03 on Saturday February 11, 2017 @07:25PM (#13625773)
This is my main issue with the new header. Now I'll have to get used to not being to distinguish between the two anymore.
Re:Revert the GitHub dark header by nwah1 on Friday February 10, 2017 @06:41PM (#13619907)
I use this GitHub theme for Stylish, which makes GitHub so much better.

Stylish makes the most sense, because it is a CSS-only solution. Using javascript for this sort of thing is hackish.

https://userstyles.org/styles/37035/github-dark

Re:Revert the GitHub dark header by Zren on Friday February 10, 2017 @08:10PM (#13620334)
The latest Stylish update in chrome introduced tracking btw. It now "calls home" by fetching the "recommended styles for this site" even when the popup isn't open. You can check the network traffic in the `background.js`.

Here's a greasemonkey script I'm using: https://gist.github.com/Zren/8726ccca22659baaeb055fd0258df76...

Re:Revert the GitHub dark header by nwah1 on Saturday February 11, 2017 @12:18AM (#13621156)
Is this true on firefox, as well? I use firefox.
Re:Revert the GitHub dark header by Zren on Saturday February 11, 2017 @05:29PM (#13625233)
Don't think so. I think the Firefox store has different rules and/or a different maintainer.

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

Re:Revert the GitHub dark header by jfrankamp on Friday February 10, 2017 @06:57PM (#13620003)
Human eyes focus differently on dark on white vs white on dark. The new dark header induces switch strain as well as focus issues (for humans). http://ux.stackexchange.com/questions/53264/dark-or-white-co...
Re:Revert the GitHub dark header by colept on Friday February 10, 2017 @06:31PM (#13619856)
I like the new header tho - jet black / blue is a good look.
Re:Revert the GitHub dark header by pookieinc on Friday February 10, 2017 @06:42PM (#13619911)
For those curious about the announcement:

https://twitter.com/mdo/status/830138373230653440

Re:Revert the GitHub dark header by simplehuman on Friday February 10, 2017 @06:34PM (#13619871)
Isn't the check `if(host == "github.com") {` redundant because you have it in the manifest anyway?
Re:Revert the GitHub dark header by johnhenry on Friday February 10, 2017 @06:40PM (#13619902)
More than anything, I'm curious about the reasons behind the change?
Re:Revert the GitHub dark header by mmgutz on Friday February 10, 2017 @06:44PM (#13619926)
For a minute there I thought something happened in the world that I was not made aware of. I didn't see Hacker News change their bar so it was just an unexplained github style change.
Re:Revert the GitHub dark header by dallamaneni on Friday February 10, 2017 @06:34PM (#13619873)
I like the dark header. Wish they make an optional dark theme.
Re:Revert the GitHub dark header by meowface on Friday February 10, 2017 @06:41PM (#13619905)
I much prefer dark themes, but I find the new header really ugly and clashing with everything else. A full dark theme could be cool, though. Just changing the header is lazy.
Re:Revert the GitHub dark header by bhauer on Friday February 10, 2017 @06:39PM (#13619898)
More things need dark themes!
Re:Revert the GitHub dark header by tedunangst on Friday February 10, 2017 @06:36PM (#13619882)
Can someone explain what the dark header is?
Re:Revert the GitHub dark header by Ralfp on Friday February 10, 2017 @06:42PM (#13619910)
Previously Github's navbar used to be black icons on light gray, and today it turned into light icons on black navbar.
Re:Revert the GitHub dark header by revelation on Friday February 10, 2017 @06:49PM (#13619954)
It still is for me. This is the new web reality where everything is only eventually consistent and at any given point in time you're being A/B tested on some bullshit idea.
Re:Revert the GitHub dark header by tedunangst on Friday February 10, 2017 @06:43PM (#13619919)
Oh, that's what I'm seeing. There's no difference with the screenshot.
Re:Revert the GitHub dark header by symlinkk on Friday February 10, 2017 @06:41PM (#13619906)
why don't you go to github.com and see for yourself?
Re:Revert the GitHub dark header by losteric on Friday February 10, 2017 @06:52PM (#13619979)
They probably did, I did too... there's no change. I see the good old white header. Text and the octocat are the only black things on screen.
Re:Revert the GitHub dark header by fanf2 on Friday February 10, 2017 @07:14PM (#13620099)
What I want is a way to properly disable mobile mode, and disable the YOOGE "switch to mobile" header.

I want to see the full README and the code, not the irrelevant stuff cluttering the mobile page.

Re:Revert the GitHub dark header by pymai on Saturday February 11, 2017 @06:07AM (#13622127)
for anyone that doesnt know, there is already an extension called "dark reader" that makes every page dark:

https://chrome.google.com/webstore/detail/dark-reader/eimadp...

theres really no need to make a separate extension for every website, unless you are trying to make a statement

Re:Revert the GitHub dark header by nouney on Friday February 10, 2017 @07:35PM (#13620194)
I don't like the dark header. But StackOverflow changed its header from dark to white and I don't like it either.

That makes me so confused about my likes.

Re:Revert the GitHub dark header by ElijahLynn on Friday February 10, 2017 @06:39PM (#13619894)
More JS processing my page? No thanks.
Re:Revert the GitHub dark header by Nimsical on Friday February 10, 2017 @06:45PM (#13619929)
This is my favorite product in the world right now.