Skip to content

Commit

Permalink
fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
bpevs committed May 26, 2022
1 parent 5dda0eb commit d3de7f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions source/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"content_scripts": [
{
"matches": ["*://*/*"],
"js": ["content_script.js"],
"run_at": "document_end"
"js": ["content_script.js"]
}
],
"options_page": "options.html",
Expand Down
4 changes: 4 additions & 0 deletions source/utilities/favicon_helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ const hasFavicon = Boolean(isFirefox() && getAllIconLinks().length);

let existingFavicon: HTMLElement | null = null;

if (getAllIconLinks().length) {
existingFavicon = getAllIconLinks()[0];
}

interface Options {
shouldOverride?: boolean;
}
Expand Down

0 comments on commit d3de7f1

Please sign in to comment.