Skip to content

Commit

Permalink
Do not block file: URLs.
Browse files Browse the repository at this point in the history
Fixes issue #3.
  • Loading branch information
jdgregson committed Jan 22, 2022
1 parent b22c303 commit caee4a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ts/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ getSettings((storedSettings) => {
background_settings = storedSettings;
});

// Reload settings when they are changes
// Reload settings when they are changed
browser.storage.onChanged.addListener((changes, areaName) => {
const keys = Object.keys(changes);
if (areaName === 'local' && keys.indexOf(STORAGE_SETTINGS) > -1) {
Expand Down
2 changes: 1 addition & 1 deletion src/ts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const BROWSER_PROTOCOLS = [
'about:',
'chrome:',
'edge:',
'file',
'file:',
];
const EXTENSION_PROTOCOLS = [
'moz-extension:',
Expand Down

0 comments on commit caee4a2

Please sign in to comment.