// ==UserScript==
// @name remove the gmail ad
// @namespace qibaoyuan
// @description 1. 去右侧广告 2.去除底部广告
// @author ytzong
// @homepage http://userstyles.org/styles/15631
// @include http://mail.google.com/*
// @include https://mail.google.com/*
// @include http://*.mail.google.com/*
// @include https://*.mail.google.com/*
// @run-at document-start
// ==/UserScript==
(function() {
var css = ".PS{display:none !important}\n.u5{display:none !important}\n.ii.gt,.ii.gt *{font-size:14px !important;line-height:1.6 !important}";
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
heads[0].appendChild(node);
}
}
})();
保存为killGmailAc.user.js,拖拽到chrome的扩展程序,重新刷新gmail即可。
去掉gmail右部和底部的广告
最新推荐文章于 2024-07-14 00:26:17 发布