Skip to content

Commit

Permalink
fix(audiences): 支持Microsoft Edge浏览器获取做种体积 (#1851)
Browse files Browse the repository at this point in the history
Co-authored-by: Shl-Cool <[email protected]>
  • Loading branch information
SHL-COOL and cool-symg committed May 8, 2024
1 parent c087763 commit 6f64825
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/background/service.ts
Expand Up @@ -612,6 +612,7 @@ export default class PTPlugin {
let opt_extraInfoSpec: string[] = [];

switch (PPF.browserName) {
case EBrowserType.Edge:
case EBrowserType.Chrome:
opt_extraInfoSpec = ["requestHeaders", "blocking", "extraHeaders"];
break;
Expand Down
3 changes: 2 additions & 1 deletion src/interface/enum.ts
Expand Up @@ -417,7 +417,8 @@ export enum ERestoreContent {

export enum EBrowserType {
Chrome = "Chrome",
Firefox = "Firefox"
Firefox = "Firefox",
Edge = "Edge"
}

export enum EWorkingStatus {
Expand Down

0 comments on commit 6f64825

Please sign in to comment.