Last active
September 22, 2024 14:48
-
-
Save ivellios/63ad0de0230843d777309a85b772eebe to your computer and use it in GitHub Desktop.
User scripts
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 gg.deals - background ad removal | |
// @description Removes the annoying background ad | |
// @version 0.3 | |
// @grant none | |
// @icon https://gg.deals/favicon-48x48.png | |
// @include https://gg.deals/* | |
// @namespace https://gist.github.com/ivellios/63ad0de0230843d777309a85b772eebe | |
// @installURL https://gist.github.com/ivellios/63ad0de0230843d777309a85b772eebe/raw/gg-deals-background-ad-removal.js | |
// @downloadURL https://gist.github.com/ivellios/63ad0de0230843d777309a85b772eebe/raw/gg-deals-background-ad-removal.js | |
// @updateURL https://gist.github.com/ivellios/63ad0de0230843d777309a85b772eebe/raw/gg-deals-background-ad-removal.js | |
// ==/UserScript== | |
(function() { | |
jQuery("body .banner-full-link").remove(); | |
jQuery("body .banner-side-link.side-link-left").remove(); | |
jQuery("body .banner-side-link.side-link-right").remove(); | |
jQuery("<style> \ | |
.site-banner-content-widget .banner-image-container {\ | |
height: 0 \ | |
}</style>" | |
).insertAfter(".main-content"); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment