Here i made a stupid gmail extension because gmail lacked a feature that was bothering me (compatible with firefox). Have you ever wanted to see your unread emails but keep on having to chat "how to see my unread emails" and then when you actually type is:unread in the search-box, you are met with a crap ton of unread emails from all your categories? Well, i've created a button that you can easily click and see all your unread emails specifically in your primary folder! :)
Clone the repository using your preferred method:
# If you use SSH (preferred)
git clone git@github.com:aaronrhim/stupid-gmail-extension.git
cd /stupid-gmail-extension # If you use HTTPS (not preferred, sometimes works)
git clone https://github.com/aaronrhim/stupid-gmail-extension.git
cd /stupid-gmail-extensionOpen up Firefox and enter this in the search bar
about:debugging#/runtime/this-firefoxClick the "Load Temporary Add-on..." button, navigate to the location where you cloned the repo, enter the gmail-primary-unread-addon folder and then click manifest.json.
Open up Gmail, right click on the extension and select Always Allow on mail.gmail.com. Then click the actual icon, select enable extension and refresh the page.
Now you are done! Whenever you open https://mail.google.com/mail/u/0/#inbox which should be your primary inbox page, the icon should show up in the button toolbar and be ready-to-use! :)