userscripts
userscripts copied to clipboard
If the xx.user.js page has injected dom, userscripts extension won't show the 'Usersciprt Detected' message

@maggch97
Could you provide the page url?
@maggch97
Could you provide the page url?
https://2gether.video/release/extension.user.js . If I install this script and reopen this script. The userscripts won't show 'Usersciprt Detected'
The issue here was that the userscriptInstall functionality was checking all frames, when it should only be checking the top frame.
Also updated it to get the contents of the code <pre> tag rather than the entire document.body.innerText in case additional dom elements are injected on to the page.