I want to track request and modify it using javaScript or jquery. how can i add header in every request sent by browser to server.
Very first time when i hit a url from browser, Request is sent to server and a HTML page is returned as a response. In this html page there are so many css, img and other links are given to access resource. When browser sends request to access resource. All the request are displayed in network section of developer tool of browser.
I need to send header with every request from browser using js.