Skip to content

Commit 2fd99fd

Browse files
committed
Support only Excludes and Patterns
1 parent b97d1e9 commit 2fd99fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

webextensions/edge/background.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const RepostConfirmationCancelerTalkClient = {
9292
},
9393

9494
match(section, url) {
95-
for (let pattern of (section.URLExcludePatterns || section.Excludes || [])) {
95+
for (let pattern of (section.Excludes || [])) {
9696
if (Array.isArray(pattern)) {
9797
pattern = pattern[0];
9898
}
@@ -102,7 +102,7 @@ const RepostConfirmationCancelerTalkClient = {
102102
}
103103
}
104104

105-
for (let pattern of (section.URLPatterns || section.Patterns || [])) {
105+
for (let pattern of (section.Patterns || [])) {
106106
if (Array.isArray(pattern)) {
107107
pattern = pattern[0];
108108
}

0 commit comments

Comments
 (0)