# HG changeset patch # User nanaya # Date 1704622825 -32400 # Node ID 8ccdc82249a23a06eb08832ccc5ca977bdc4442a # Parent 77c5ac0ae0479ec36eb53be41305cc7fa191d848 [mandarake direct link] the attribute now set after element is added diff -r 77c5ac0ae047 -r 8ccdc82249a2 mandarake-direct-link.user.js --- a/mandarake-direct-link.user.js Fri Jun 30 20:28:27 2023 +0900 +++ b/mandarake-direct-link.user.js Sun Jan 07 19:20:25 2024 +0900 @@ -47,6 +47,10 @@ for (const node of mutation.addedNodes) { run(node); } + + if (mutation.target instanceof window.HTMLElement) { + run(mutation.target); + } } }