Skip to content

Commit

Permalink
feat: support 'about:' and 'moz-extension:' pages
Browse files Browse the repository at this point in the history
  • Loading branch information
teddy-gustiaux committed Feb 3, 2019
1 parent 673b4a8 commit 8e893f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/utils/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class Utils {
) {
return true;
}
const extraProtocols = ['file:', 'about:'];
const extraProtocols = ['file:', 'about:', 'moz-extension:'];
const url = new URL(urlString);
return extraProtocols.indexOf(url.protocol) !== -1;
}
Expand Down

0 comments on commit 8e893f9

Please sign in to comment.