Thread:Sophiedp/@comment-32704847-20201012003946/@comment-24692230-20201013045626

you wouldn't be able to use :has since thats not a part of native CSS/JS, also you can put it in your global.js or common.js, but if you want to use it via tampermonkey make sure that that the JS is running after the elements are loaded on the page, and that its able to affect the page (you'll problly have to load jquery since I think it will be not running on the page, so you won't have the jquery that MW loads automatically, but I don't think that tampermoneky needs anything special to change the DOM).