Defines the moment the script is injected. In opposition to other script handlers, @run-at defines the first possible moment a script wants to run. This means it may happen, that a script that uses the @require tag may be executed after the document is already loaded, cause fetching the required script took that long. Anyhow, all DOMNodeInserted and DOMContentLoaded events that happended after the given
injection moment are cached and delivered to the script when it is injected.
injection moment are cached and delivered to the script when it is injected.
// @run-at document-start
The script will be injected as fast as possible.
The script will be injected if the body element exists.
The script will be injected when or after the DOMContentLoaded event was dispatched.
The script will be injected after the DOMContentLoaded event was dispatched. This is the default value if no @run-at tag is given.
The script will be injected if it is clicked at the browser context menu (desktop Chrome-based browsers only). Note: all @include and @exclude statements will be ignored if this value is used, but this may change in the future.
最新评论
5211314
能不能教我 一点不会