From a312b0b2d4d463f75fc52602803133dd521f4511 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Wed, 25 Feb 2026 01:07:47 +0100 Subject: [PATCH] Rename dial to dial.html, update background.js to use dial.html URL, modify manifest.json to use dial.html for newtab and add data_collection_permissions --- src/{dial => dial.html} | 0 src/js/background.js | 2 +- src/manifest.json | 11 +++++++---- 3 files changed, 8 insertions(+), 5 deletions(-) rename src/{dial => dial.html} (100%) diff --git a/src/dial b/src/dial.html similarity index 100% rename from src/dial rename to src/dial.html diff --git a/src/js/background.js b/src/js/background.js index c873b9a..c332aaf 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -22,7 +22,7 @@ app.init = function(){ // Init module browser.tabs.query({}).then( function(tabs) { tabs.forEach(function(itm){ if(itm.url=='about:blank'){ - browser.tabs.update(itm.id, {url: browser.extension.getURL('dial')}); + browser.tabs.update(itm.id, {url: browser.runtime.getURL('dial.html')}); } }); }); diff --git a/src/manifest.json b/src/manifest.json index 7d3d886..11275da 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Quick Dial", - "version": "0.1.20", + "version": "0.1.20", "author": "MatMoul", "homepage_url": "https://github.com/MatMoul/quickdial-webext", "developer": { @@ -37,13 +37,16 @@ }, "chrome_url_overrides" : { - "newtab": "dial" + "newtab": "dial.html" }, - "applications": { + "browser_specific_settings": { "gecko": { "id": "quickdial@matmoul.com", - "strict_min_version": "70.0" + "strict_min_version": "142.0", + "data_collection_permissions": { + "required": ["none"] + } } },