Why Nostr? What is Njump?
2023-02-28 22:07:06

nostr_is_not_web3 on Nostr: #[0]

function hideMessages() {
// Define the patterns to hide
const patternsToHide = ['lnurl', 'lnbc', 'chatgpt', 'web3', 'lottery', 'created', 'btc.com', 'walletofsatoshi.com'];

// Select all message boxes
const messageBoxes = document.querySelectorAll('.mbox');

// Iterate through the message boxes
messageBoxes.forEach((messageBox) => {
// Get the message text
const messageText = messageBox.innerText.toLowerCase();

// Check if the message contains any of the patterns to hide
const shouldHide = patternsToHide.some((pattern) => messageText.includes(pattern));

// Hide the message if it contains any of the patterns to hide
if (shouldHide) {
messageBox.style.display = 'none';
}
});
}

setInterval(hideMessages, 1000);
Author Public Key
npub1upxpz4q5vu797ujmhe023akh0rutp2qeshfmmakqpdhxavdaqhqqygn20k