Compare commits

...

2 Commits

Author SHA1 Message Date
Bauke ccb0968b18
Version 0.3.1! 2022-12-09 17:48:28 +01:00
Bauke 2727eb51b7
Idiot. 🤦 2022-12-09 17:47:55 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -30,8 +30,8 @@ browser.runtime.onInstalled.addListener(async () => {
browser.webNavigation.onBeforeNavigate.addListener(async (details) => { browser.webNavigation.onBeforeNavigate.addListener(async (details) => {
const detailsUrl = new URL(details.url); const detailsUrl = new URL(details.url);
const supportedHosts = ['duckduckgo.com', 'google.com']; const supportedHosts = ['duckduckgo.com', 'google.com', 'www.google.com'];
if (supportedHosts.includes(detailsUrl.host)) { if (!supportedHosts.includes(detailsUrl.host)) {
return; return;
} }

View File

@ -7,7 +7,7 @@ export default function createManifest(
name: 'Fangs', name: 'Fangs',
description: description:
'Inject custom DuckDuckGo Bangs into your browsing experience.', 'Inject custom DuckDuckGo Bangs into your browsing experience.',
version: '0.3.0', version: '0.3.1',
permissions: ['storage', 'webNavigation'], permissions: ['storage', 'webNavigation'],
options_ui: { options_ui: {
page: 'options/index.html', page: 'options/index.html',