40,275
edits
(try this) |
m (don't try to replace signed articles) |
||
// find the message to replace with a button
const place_for_button = notice.querySelector('.unsigned'
if (!place_for_button) return
place_for_button.replaceWith(button)
console.warn('gadget:', 'tag-complete-button')
|