Skip to content

Commit

Permalink
Process XMLHttpRequest and Fetch API requests.
Browse files Browse the repository at this point in the history
This resolves #6.
  • Loading branch information
JustOff committed Oct 14, 2020
1 parent fd4bd85 commit 621696f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ function enableScDoctor(updateIcon = true) {
}
browser.webRequest.onHeadersReceived.addListener(
updateResponse,
{urls : matchPattern, types: ["main_frame", "sub_frame"]},
{urls : matchPattern, types: ["main_frame", "sub_frame", "xmlhttprequest"]},
["blocking", "responseHeaders"]
);
if (updateIcon) {
Expand Down

0 comments on commit 621696f

Please sign in to comment.