Compare commits
2 Commits
2e579f350d
...
ccb0968b18
Author | SHA1 | Date |
---|---|---|
Bauke | ccb0968b18 | |
Bauke | 2727eb51b7 |
|
@ -30,8 +30,8 @@ browser.runtime.onInstalled.addListener(async () => {
|
|||
|
||||
browser.webNavigation.onBeforeNavigate.addListener(async (details) => {
|
||||
const detailsUrl = new URL(details.url);
|
||||
const supportedHosts = ['duckduckgo.com', 'google.com'];
|
||||
if (supportedHosts.includes(detailsUrl.host)) {
|
||||
const supportedHosts = ['duckduckgo.com', 'google.com', 'www.google.com'];
|
||||
if (!supportedHosts.includes(detailsUrl.host)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ export default function createManifest(
|
|||
name: 'Fangs',
|
||||
description:
|
||||
'Inject custom DuckDuckGo Bangs into your browsing experience.',
|
||||
version: '0.3.0',
|
||||
version: '0.3.1',
|
||||
permissions: ['storage', 'webNavigation'],
|
||||
options_ui: {
|
||||
page: 'options/index.html',
|
||||
|
|
Loading…
Reference in New Issue