Skip to content

Instantly share code, notes, and snippets.

@nickodell
Last active October 20, 2023 17:01
Show Gist options
  • Save nickodell/b56ddb22ba3fa7a1462271abdbdaab15 to your computer and use it in GitHub Desktop.
Save nickodell/b56ddb22ba3fa7a1462271abdbdaab15 to your computer and use it in GitHub Desktop.
// ==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