AG-50852 Updated documentation for $removeparam rules in AdGuard#843
Open
AG-50852 Updated documentation for $removeparam rules in AdGuard#843
$removeparam rules in AdGuard#843Conversation
…r Chrome MV3 to explain redirect chaining mechanism
| - Regular expressions, negation and allowlist rules are not supported. | ||
| - Generic rules are applied before specific rules, and redirection occurs only once. This may prevent subsequent or more specific redirects from applying. | ||
| - Group of similar `$removeparam` rules will be combined into one. Example: | ||
| - Each `$removeparam` rule with a named parameter gets its own declarative rule with a param-aware `urlFilter` (e.g. `^utm_source=`). Chrome DNR applies a redirect only once per navigation, so without this, only the highest-priority rule would fire and the rest would be skipped. The param-aware `urlFilter` makes each rule fire only when its target parameter is present, forming a redirect chain — one parameter stripped per hop — until all are removed. Chrome allows up to 20 hops per navigation, which is enough for real-world tracking URLs. These hops are invisible to users. Example: |
Contributor
There was a problem hiding this comment.
The documentation mentions that Chrome allows up to 20 hops per navigation for parameter removal. Could you add information about what happens if there are more than 20 parameters to remove? Would some parameters remain unprocessed?
|
Preview was deployed to: https://pull-request-843.kb-adg.pages.dev/ |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Should be merged after release v5.4