Content scripts are files that run in the context of web pages. Using the standard Document Object Model (DOM), they are able to read details of the web ...
// @run-at document-start. The script will be injected as fast as possible. // @run-at document-body. The script will be injected if the body element exists ...
running at document-start, so I can disable it? GM_addStyle() doesn't do anything different at different run-at times. It tries to return the <style> node ...
2014年10月9日 — For my Greasemonkey script, there is part of the code that should run before the page is loaded ( @run-at document-start ) and another part of ...
2015年4月18日 — Currently when using document-start with Greasemonkey my script runs when the HTML element is created, before the Head element is loaded ...
2023年11月6日 — document-start: The script will run before any document begins loading, thus before any scripts run or images load. document-idle: The script ...
2023年9月3日 — I have a Tampermonkey Userscript that I want to use to prevent certain scripts from loading. To do this, I have a MutationObserver and when the ...
2022年10月11日 — Using the @run-at document-end header causes the script to be injected after the DOMContentLoaded event was dispatched. Actual Behavior. Using ...