您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script removes Outlook.com Email OWA Ads from new interface and reclaims the space.
- // ==UserScript==
- // @name New Outlook.com Email OWA Adbar remover
- // @version 0.1.4
- // @description This script removes Outlook.com Email OWA Ads from new interface and reclaims the space.
- // @author Allan DSouza
- // @match https://outlook.live.com/*
- // @grant none
- // @namespace https://greasyfork.org/users/20177
- // ==/UserScript==
- (function() {var css = [
- "._n_h {display: none; width: 0 !important; position: absolute}",
- "#primaryContainer > div:nth-child(7){ right: 0 !important; width: 100% !important;}",
- "._n_15 {display: none; width: 0 !important; position: absolute}",
- "._2qPmszDwBfYpF7PO9Mn3KN {display: none; width: 0 !important; position: absolute}"
- ].join("\n");
- var node = document.createElement("style");
- node.type = "text/css";
- node.appendChild(document.createTextNode(css));
- var heads = document.getElementsByTagName("head");
- if (heads.length > 0) {
- heads[0].appendChild(node);
- } else {
- document.documentElement.appendChild(node);
- }
- })();