-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGrammarly_Hider.user.js
36 lines (33 loc) · 1.07 KB
/
Grammarly_Hider.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// ==UserScript==
// @name Grammarly Hider
// @namespace https://vash.omnimir.ru/
// @version 0.8
// @description Hide annoying elements
// @author kapsilon
// @license MIT
// @match https://app.grammarly.com/*
// @require https://raw.githubusercontent.com/OmniMir/WebMonkey/master/lib.min.js
// @grant none
// ==/UserScript==
(function () {
"use strict";
//Start on page load to take effect
window.addEventListener("load", () => hideElements(), false);
//Hide Elements
function hideElements() {
//MAIN SCREEN
//Hide Left Banner
wmHideAllInStyle("div[class*='business_banner-banner']");
//Hide Premium from Menu
wmHideAllInStyle("div[class*='index_navigation-premium']");
//Hide Red Number from Menu
wmHideAllInStyle("div[class*='index_navigation-apps'] i");
//Hide Top Banner
wmHideAllInStyle("div[class*='banner-container']");
//DOCUMENT SCREEN
//Hide Support Button (use Left Menu)
wmHideAllInStyle("div[class*='toolbarSupportButton']");
//Hide Premium Functions from Right Menu
wmHideAllInStyle("div[class*='documentActionsTeaser']");
}
})();