- macOS Big Sur 11.1
- 1.download this repository code
- 2.open
chrome://extensions/
page - 3.Add the
src
folder to chrome ext
- 1.open https://github.com/ in chrome, and open the chrome dev tools(option + command + i),you can see that all requests have been added with a custom header(
experiment:hzzhaoxiangtao@corp.netease.com
)
- 2.close the chrome dev tools,and refresh the page,then open the chrome dev tools,you will notice that the request does not add the custom header.
https://github.com/
is just for example, u can try on any page.
-
chrome dev tools status:open
modify request header success -
chrome dev tools status:close
modify request header fail