mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-26 04:21:39 +01:00
Updated 4.2.4 Header Editor (markdown)
parent
ebb3d01006
commit
270d454658
@ -8,10 +8,18 @@ Header Editor is an extension that allows you to modify the request header and r
|
||||
* Note: if you disable disk *and* memory cache, this is not required
|
||||
* Test: https://httpbin.org/
|
||||
* Test: http://lucb1e.com/rp/cookielesscookies/
|
||||
* number of visits should never be more than 2
|
||||
* note: the site uses IP and UA to create your unique ID, so to test, do not change these
|
||||
|
||||
```
|
||||
Name: remove all ETag's
|
||||
Type: modify the Response header
|
||||
Execute type: normal
|
||||
Header name: etag
|
||||
Execute type: Custom function
|
||||
```
|
||||
|
||||
Code:
|
||||
```js
|
||||
for (let a in val) {
|
||||
if (val[a].name.toLowerCase() === 'etag') { val[a].value = ''; }
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user