Merge pull request #153 from owendaprile/firefox-optimizations

Some Firefox Optimizations
This commit is contained in:
Ajay Ramachandran 2019-10-30 23:38:13 -04:00 committed by GitHub
commit e82beb861a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 11 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
config.js config.js
ignored ignored
.idea/

View file

@ -1,7 +1,7 @@
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { chrome.tabs.onUpdated.addListener(function(tabId) {
chrome.tabs.sendMessage(tabId, { chrome.tabs.sendMessage(tabId, {
message: 'update', message: 'update',
}); }, () => void chrome.runtime.lastError ); // Suppress error on Firefox
}); });
chrome.runtime.onMessage.addListener(function (request, sender, callback) { chrome.runtime.onMessage.addListener(function (request, sender, callback) {

View file

@ -1,8 +0,0 @@
{
"browser_specific_settings": {
"gecko": {
"id": "sponsorBlocker@ajay.app",
"strict_min_version": "57.0"
}
}
}

View file

@ -65,5 +65,11 @@
"128": "icons/LogoSponsorBlocker128px.png", "128": "icons/LogoSponsorBlocker128px.png",
"256": "icons/LogoSponsorBlocker256px.png" "256": "icons/LogoSponsorBlocker256px.png"
}, },
"browser_specific_settings": {
"gecko": {
"id": "sponsorBlocker@ajay.app",
"strict_min_version": "57.0"
}
},
"manifest_version": 2 "manifest_version": 2
} }