Skip to content

Instantly share code, notes, and snippets.

@NiLSPACE
Last active July 27, 2024 14:45
Show Gist options
  • Save NiLSPACE/a8c95b895982ba9d9dba108d191216af to your computer and use it in GitHub Desktop.
Save NiLSPACE/a8c95b895982ba9d9dba108d191216af to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Reddit Remove App Notification
// @namespace http://tampermonkey.net/
// @version 0.3
// @description try to take over the world!
// @author You
// @match https://www.reddit.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com
// @grant none
// ==/UserScript==
(async function() {
'use strict';
let style = document.createElement("style")
style.innerText = `
body.scroll-disabled {
position: initial !important;
overflow: auto !important;
}
.NavFrame > div:not([class]) {
display:none;
}
body {
overflow: auto !important;
pointer-events: initial !important;
}
shreddit-experience-tree {
display: none;
}
shreddit-async-loader[paint-group="xpromo"] {
display: none;
}
`
document.body.appendChild(style);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment