-
-
Save tomo-x7/1fc44ba79c18ac218c4badcfaa4fc30d 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
const deletehako = () => { | |
Array.from( | |
document.querySelectorAll( | |
'img[src*="did:plc:trsca3mapw6qxzy3kmpd5f26/bafkreia7oczek76rql4smvusxhb2vv7qxgketif35yqmy4eductymcepie@jpeg"]', | |
), | |
).map((node) => { | |
node.parentNode.parentNode.remove(); | |
}); | |
}; | |
const target = document.getElementsByClassName("mt-5")[0]; | |
const observer = new MutationObserver(deletehako); | |
observer.observe(target, { | |
childList: true, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment