Closed machawk1 closed 9 years ago
When navigating to one page from another, the HTTP request for the new page is the last entry in the requestHeaders
associative array. A solution might be to remove everything but the last entry. Completely deleting the array will remove the request header for the page about to be accessed.
All previous data should be deleted on each new page navigation but it looks like
chrome.webNavigation.onBeforeNavigate
is fired after the request is sent.