Last active
October 20, 2023 17:01
-
-
Save nickodell/b56ddb22ba3fa7a1462271abdbdaab15 to your computer and use it in GitHub Desktop.
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 Search Pulsing | |
// @version 1 | |
// @grant none | |
// @match https://stackoverflow.com/* | |
// ==/UserScript== | |
(new MutationObserver(check)).observe(document, {childList: true, subtree: true}); | |
function check(changes, observer) { | |
const style = document.querySelectorAll("head style"); | |
if(style.length != 0) { | |
console.log("removing style"); | |
console.log(style[0]); | |
style[0].remove(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment