mirror of
https://github.com/MatMoul/quickdial-webext.git
synced 2026-02-25 20:27:47 +00:00
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
This commit is contained in:
@@ -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')});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user