Last active
December 19, 2022 08:09
-
-
Save sshkpp/aa63ad4dc7abbae005eaeba88e831878 to your computer and use it in GitHub Desktop.
Remove adv for mail.yandex.ru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Remove Adv Yandex Mail | |
// @namespace https://github.com/sshkpp | |
// @version 0.1 | |
// @description Remove adv for mail.yandex.ru | |
// @author Samokhin Ilya | |
// @match https://mail.yandex.ru/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
let style = document.createElement('style'); | |
style.type = 'text/css'; | |
let css = '.ns-view-react-left-column + div { display:none !important; } .ns-view-advanced-search-box + div { visibility: hidden !important; }'; | |
style.appendChild(document.createTextNode(css)); | |
document.querySelector('head').appendChild(style); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment