You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -44,6 +44,7 @@ The features of the full version (Header Editor) and the lite version (Header Ed
44
44
| Modify response body | ❌ | ❌ |
45
45
46
46
Notes:
47
+
* The Lite version has better performance. If there is no specific requirement, it is recommended to use the Lite version.
47
48
* The "exclude" for Chrome/Edge browser will be supported in other ways in subsequent versions, but they not be completely consistent with the current support methods, and manual migration may be required.
48
49
* If the corresponding feature is not supported, **the entire rule** will not take effect, but will still be retained. You can wait for subsequent versions to support it, or manually migrate to other browsers through the "Import and Export".
Copy file name to clipboardExpand all lines: docs/docs/guide/rule.en-US.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ order: 1
10
10
11
11
### Match type
12
12
13
-
Rules will apply to the URL that meets the matching criteria
13
+
Rules will apply to the URL that meets the matching criteria. If multiple conditions are checked, all conditions must be met at the same time for this rule to be applied.
14
14
15
15
* All: Correspond to all urls, including the Header Editor itself
16
16
* Regular expression
@@ -20,24 +20,31 @@ Rules will apply to the URL that meets the matching criteria
20
20
* URL prefix: Including `http://` URL prefix
21
21
* Domain name: The full domain name that contains the subdomain
22
22
* URL: Including "?" And the full address of all subsequent content
23
+
* Method: GET/POST and other request methods.
24
+
* Resource type: web page, image, CSS style, etc.
25
+
26
+
Note:
27
+
* The method and resource type can only be configured in either match or exclude.
23
28
24
29
### Exclude
25
30
26
-
The rule will not take effect on the URL which is match the "exclude".
31
+
Regardless of whether the matching rules are met, as long as any exclusion condition is met, this item will not take effect on the current URL.
32
+
* The Lite version does not support configuring regular expressions in exclusion.
27
33
28
34
### Custom function
29
35
30
36
Through a custom function to realize a more flexible function, the specific use please see [here](./custom-function.md)
37
+
* This feature is not supported in the Lite version.
31
38
32
39
## Other special features
33
40
34
41
* When using "Modify request header" or "Modify response header", set the header content to `_header_editor_remove_` will remove this header (valid since 3.0.5)
35
-
36
42
* When using "Redirect request" with custom function, return `_header_editor_cancel_` will cancel this request (valid since 4.0.3)
37
43
38
44
## Other considerations
39
45
40
46
* If you want to set a header content to empty, different browsers have different behaviors. Chrome will keep this header but its content will be empty. Firefox will remove this header
47
+
* Browsers restrict modification of specific URLs. For example, in Chrome and similar browsers (such as 360 Browser), extensions do not have permission to modify any request starting with `chrome.google.com/webstore`.
0 commit comments