<!-- version: 2.0 -->
<!-- tag: chrome-extensions -->
<!-- thumbnail: https://i.sstatic.net/Nxjug.png -->

##Screenshots

A new question notification in Chrome 6 in Windows XP<br>
<img src="http://imgur.com/S8kSc.png" alt="" title="A new question notification in Chrome 6 in Windows XP" />

A new answer and a new question notification on Mac OS X.

![New question and new answer notifications][1]
![New answer notification][2]

##About

New Q! is a Google Chrome browser extension that notifies you whenever:

 - Someone asks a question that interests you
 - Someone comments on your question
 - Someone comments on your answer
 - You receive a Careers message
 - You receive a chat message

Whenever these things happen you receive a desktop notification like the ones shown above. This means no more refreshing the page of your favorite SE sites to look for questions to answer or new inbox notifications. You just wait until you are notified and then click the notification and a new tab opens for you.

How to get started:

 1. Download and install [Google Chrome][3] if you don't have it
 2. Download and install New Q! from the [Chrome Web Store][4]
 3. Right click on the New Q! button ![Browser Action Button][5] and click Options
 4. On the options page you can create Search Profiles to be notified of new questions of interest. Search profiles contain:
     - An SE site to monitor for New Questions (meta sites are fine too)
     - Which tags to look for (space separated)
     - Whether all those tags should be present or any of them
     - Which tags to ignore (you will not be notified of questions with any ignored tag)

You can create as many Search Profiles as you like.

On the options page you can also connect to your SE account (or disconnect from it) which you need to do in order to receive inbox notifications (which include new answer notifications, new comment, etc.).

![Options Page][6] 

As notifications come up you can click on them to open a new tab with the question, answer, comment, etc.

Notifications will disappear after a few seconds or after you click on them or dismiss them. 

You can left click the NQ button to get a popup where you can see the last few questions that were shown in notifications. You can also stop and restart showing notifications (useful if you want some distraction free time) by clicking the button at the bottom of the pop-up.

![New Q! pop-up][7]

##How it works
This is done with a Google Chrome extension which checks every minute or so for new questions with the desired tags using jQuery and the StackExchange API 2.0. If a new question or unread inbox item is found a Desktop Notification is sent up using WebKit's implementation of the HTML5 Desktop Notification system. The tags and site you are interested in are set using the options page which can be accessed by right clicking the new "New! Q" button. These settings are stored in HTML5 local storage. The UI for the options page and the popup use KnockoutJS, jQuery, and Bootstrap by Twitter.

###License

[Creative Commons Attribution 3.0][8]

###Download

Chrome Web Store: [https://chrome.google.com/extensions/detail/bffhpbgmmflmoacglmdnilfjkeeokkfn][9]

Source Code:
[https://github.com/adamzr/New-Q-][10]

###Platform

Google Chrome (tested with 5.0.375.70, but probably works with slightly earlier versions)
[Windows/Mac/Linux][11]

##Contact

On GitHub at https://github.com/adamzr/New-Q-

##Code

Written in JavaScript,jQuery, and HTML in a Google Chrome extension. This is a work in progress. Please feel free to improve it. 
[https://sourceforge.net/projects/newq/files/][12]

Git: [git://github.com/adamzr/New-Q-.git][13]

##Change log

###UPDATE to Version 2.0
This is a big change. So, please bear with me through any problems there may be. **This update now uses version 2.0 of the API.** It allows you to search multiple sites at once. You can also get inbox notifications if you connect the app via OAuth. Notifications now dismiss themselves after a few seconds. The UI has been polished up a bit too. Existing users will have to re-input their settings, I'm sorry for the inconvenience. Enjoy and as always feedback is appreciated.

###UPDATE To Version 1.0
There is now a badge showing your reputation on the New Q! button. Clicking on the button now gives you a pop-up listing the questions and allowing you to pause/restart the notifications. This is useful if you need some distraction free time.

###UPDATE To Version 0.9
This update as well as 0.8.1 and 0.8.5 were mostly bug fixes. A few new things: The logo of the website is displayed as the background in the notification. Some CSS improvements to the notifications. You can load in your favorite tags by clicking on the suggestion. The notification goes away when you click on the link in it as requested on the Chrome extension page.

###UPDATE To Version 0.8
Fixed the bug where you received too many notifications when starting your browser. Your browser history is used to check what questions you've already viewed, so existing users must re-enable the extension for additional permissions. Tags that you use most often are suggested on the options page. Tags are shown in the notifications. Please tell me about any problems you find with this update. Thanks!

###UPDATE To Version 0.7
Fixed several bugs.
Added comment notification now if you enter you user ID on the options page you'll get notifications when people @reply to you in comments:
<img src="https://i.sstatic.net/j9ZvO.jpg" alt="" title="Comment Notification" />


  [1]: https://i.sstatic.net/Nxjug.png
  [2]: https://i.sstatic.net/21vAy.png
  [3]: https://www.google.com/chrome
  [4]: https://chrome.google.com/extensions/detail/bffhpbgmmflmoacglmdnilfjkeeokkfn
  [5]: https://i.sstatic.net/SXLGq.png
  [6]: https://i.sstatic.net/4hSzr.png
  [7]: https://i.sstatic.net/pe6pi.png
  [8]: http://creativecommons.org/licenses/by/3.0/us/
  [9]: https://chrome.google.com/extensions/detail/bffhpbgmmflmoacglmdnilfjkeeokkfn
  [10]: https://github.com/adamzr/New-Q-
  [11]: http://support.google.com/chrome/bin/answer.py?hl=en&answer=95411
  [12]: https://github.com/adamzr/New-Q-
  [13]: git://github.com/adamzr/New-Q-.git