-
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.
Now support AdGuard's `randomize` parameter. If `true`, the scriplet will generate a random 10-character string to be returned as the response. Reference: https://github.com/AdguardTeam/Scriptlets/blob/master/wiki/about-scriptlets.md#prevent-xhr AdGuard's `prevent-xhr` also support `length:n-m` form, but since I do not see it being used, for now it's not supported in uBO's `no-xhr-if`. Additionally, the scriptlet will now honor `responseType` and return the proper response type accordingly.
- Loading branch information
Showing
1 changed file
with
52 additions
and
43 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