Last active
April 18, 2024 08:08
-
-
Save JellyWX/bb5cf179d1813aa02474a2ce13e5cd6f to your computer and use it in GitHub Desktop.
Tampermonkey Userscripts
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 summarizer | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://search.brave.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=brave.com | |
// @grant none | |
// ==/UserScript== | |
function() { | |
'use strict'; | |
const elements = [document.getElementById('summarizer'), document.getElementById('codellm')]; | |
for (const el of elements) { | |
if (el !== null) { | |
el.style.display = 'none'; | |
} | |
} | |
// Hide annoying LLM thing | |
document.head.innerHTML += `<style> | |
#search-page > div:not(.column-layout) { | |
display: none; | |
} | |
</style>`; | |
})(); |
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 Debloat SE | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://stackoverflow.com/questions/* | |
// @match https://superuser.com/questions/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=superuser.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.querySelector('#left-sidebar').remove(); | |
document.querySelector('a[href="/questions/ask"]').remove(); | |
document.querySelectorAll('#sidebar > :not(.sidebar-related)').forEach((el) => el.remove()); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment