Skip to content

Instantly share code, notes, and snippets.

@verfasor
Created November 22, 2023 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verfasor/2fd77fca4ca38a87d981f92e55142cf3 to your computer and use it in GitHub Desktop.
Save verfasor/2fd77fca4ca38a87d981f92e55142cf3 to your computer and use it in GitHub Desktop.
bminus.js
addEventListener("DOMContentLoaded", () => {
document.querySelectorAll('*').forEach(element => {
Array.from(element.childNodes).filter(node => node.nodeType === Node.TEXT_NODE).forEach(node => {
node.nodeValue = node.nodeValue
.replace(/ ʕ•ᴥ•ʔ/g, "")
.replace(/Made with/g, "powered by");
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment