Gmail Mobile Enhancer

A few enhancement on the Gmail mobile site to use it as desktop.

当前为 2021-03-18 提交的版本,查看 最新版本

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Cqoicebordel
评分
0 0 0
版本
1.20
创建于
2018-11-27
更新于
2021-03-18
大小
81.9 KB
许可证
暂无
适用于

Gmail Mobile Enhancer

An UserJS to add a few enhancement on the Gmail Mobile site to use it as desktop.

What is it ?

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.

How to install it ?

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.

What is the licence ?

The licence is easy : do whatever you want with it, except making money.

Shoutouts

I stole some part of this project from others :

FAQ

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.