Skip to content

Commit

Permalink
fix(edge): support hjenglish for edge browser
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytonyjan committed Jul 13, 2020
1 parent 8689224 commit f790964
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ browser.webRequest.onBeforeSendHeaders.addListener(
},
(() => {
const list = ["blocking", "requestHeaders"];
if (process.env.BROWSER === "chrome") list.push("extraHeaders");
if (process.env.BROWSER === "chrome" || process.env.BROWSER === "edge")
list.push("extraHeaders");
return list;
})()
);

0 comments on commit f790964

Please sign in to comment.