diff --git a/4.2.4-Header-Editor.md b/4.2.4-Header-Editor.md index 84eafa2..8e70d8b 100644 --- a/4.2.4-Header-Editor.md +++ b/4.2.4-Header-Editor.md @@ -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 -``` \ No newline at end of file +Execute type: Custom function +``` + +Code: +```js +for (let a in val) { + if (val[a].name.toLowerCase() === 'etag') { val[a].value = ''; } +} +```