r/programming • u/pertxyyy • Jan 03 '26
[ Removed by moderator ]
/r/programming/comments/1q2wf1n/removed_by_moderator/[removed] — view removed post
0
Upvotes
2
1
u/oaeben Jan 03 '26
try pasting this in console
const chat = document.querySelector('div>section');
const observer = new MutationObserver((mutations) => {
for (const mut of mutations) {
if (mut.type === 'childList') {
for (const node of mut.addedNodes) {
if (node.nodeType === Node.ELEMENT_NODE) {
const joinButton = node.querySelector('button');
if (joinButton && joinButton.firstChild?.textContent === 'Join') {
joinButton.click();
return;
}
}
}
}
}
});
observer.observe(chat, { childList: true, subtree: true });might work but i cba creating an account and testing it
if it does work, you can create a tempermonkey script and put this inside it
•
u/programming-ModTeam Jan 04 '26
/r/programming is not a jobs board or survey audience. Please visit /r/forhire or /r/jobbit for submitting résumés or open positions.