An UserJS to add a few enhancement on the Gmail Mobile site to use it as desktop.
It's an UserJS that enhance a bit the mobile Gmail site, to avoid using the desktop one. It contains several modifications :
- Dark theme
- A bit more compact UI
- A menu to go to all your folders and labels (you have to configure it first)
- Possibility to write a new mail in a tab
- Buttons to go back and forth
- Open current thread in the classic Gmail Desktop interface
- Change the favicon and site title to show number of unread
- Fix a bug with PgUp and PgDown (and space and shift+space)
Moreover, the whole thing is pretty modular, so you can modify it to suits you. Everything is commented, and even translatable easily.
It's an UserJS, so you can drag and drop it in your extension page, or use an extension like Tampermonkey. Be aware though, that you need to configure the script to have the menu enabled. For that, go to your Gmail Mobile page, go to the menu page (the hamburger icon, and the menu should be loaded.
If you want to avoid having to open the menu each time to have the menu, just open your console (after opening the menu once) and replace the lines in the userJS
var textsUsual = [];
var textsLabels = [];
var commandsLabels = [];
var colors = [];
by those provided in the console. And you should be done.
The licence is easy : do whatever you want with it, except making money.
I stole some part of this project from others :
- The injection of style comes from Gmail Colour and Spacing Changes
- The favicon change is a simplified version of Gmail Unread Message Count in Favicon
- Almost all the icons come from Gmail except the "My Circles" which is mine, and "External Link" which comes from Font Awesome
Why is this script so heavy ? Because I included the icons in it in base64. The code in itself represent a quarter of the size.