Skip to content

Commit

Permalink
Add support for <all_urls> in normalizeManifestPermissions
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Dec 27, 2023
1 parent 5061fee commit a1c1cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function normalizeManifestPermissions(
}

for (const permission of list) {
if (permission.includes('://')) {
if (permission.includes('://') || permission === '<all_urls>') {
manifestPermissions.origins.push(permission);
} else {
manifestPermissions.permissions.push(permission);
Expand Down

0 comments on commit a1c1cad

Please sign in to comment.