sindresorhus/github-notifier-chrome — pull request #1 by chrisbarmonde (2014-04-23 01:09:04+00:00)
Title: Add option for counter selector

Been using this extension for a long time and had a minor custom modification that disappeared during the latest update, so figured I'd flesh it out a little and make it permanent.

My team updates a ton of crap every day and I prefer to get alerted just for things I'm participating in, so this PR will let you specify the selector used to get the count on the notifications page. In my case, I just modify it to use `a[href="/notifications/participating"] .count`, but you could also in theory change it to be any other project-specific selector, too. It gets a little more nebulous at that point, since those are only visible if there *are* updates, so I've just erred on the side of "the user knows what they're doing".

I also added a test button on the options page so you can make sure the selector and custom URL are working and a success message once you hit save.