Skip to content

Commit 6f64825

Browse files
SHL-COOLcool-symg
andauthored
fix(audiences): 支持Microsoft Edge浏览器获取做种体积 (#1851)
Co-authored-by: Shl-Cool <[email protected]>
1 parent c087763 commit 6f64825

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/background/service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ export default class PTPlugin {
612612
let opt_extraInfoSpec: string[] = [];
613613

614614
switch (PPF.browserName) {
615+
case EBrowserType.Edge:
615616
case EBrowserType.Chrome:
616617
opt_extraInfoSpec = ["requestHeaders", "blocking", "extraHeaders"];
617618
break;

src/interface/enum.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ export enum ERestoreContent {
417417

418418
export enum EBrowserType {
419419
Chrome = "Chrome",
420-
Firefox = "Firefox"
420+
Firefox = "Firefox",
421+
Edge = "Edge"
421422
}
422423

423424
export enum EWorkingStatus {

0 commit comments

Comments
 (0)