-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to defer set-constant execution
A new optional parameter has been added to `set-constant` scriptlet: `runAt`, default to `0`. ..##+js(set, document.body.oncontextmenu, null, 2) When the `runAt` parameter is present, uBO will take it into account to possibly defer execution of `set-constant`: - `runAt` not present: execute immediately - `runAt` = 1: execute immediately - `runAt` = 2: execute when document state is "interactive" - `runAt` = 3: execute when document state is `"complete"
- Loading branch information
Showing
1 changed file
with
160 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters