Skip to content

Commit

Permalink
Merge pull request #153 from owendaprile/firefox-optimizations
Browse files Browse the repository at this point in the history
Some Firefox Optimizations
  • Loading branch information
ajayyy authored Oct 31, 2019
2 parents cba5b05 + 01405dd commit e82beb8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
config.js
ignored
ignored
.idea/
4 changes: 2 additions & 2 deletions background.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
chrome.tabs.onUpdated.addListener(function(tabId) {
chrome.tabs.sendMessage(tabId, {
message: 'update',
});
}, () => void chrome.runtime.lastError ); // Suppress error on Firefox
});

chrome.runtime.onMessage.addListener(function (request, sender, callback) {
Expand Down
8 changes: 0 additions & 8 deletions firefox_manifest-extra.json

This file was deleted.

6 changes: 6 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,11 @@
"128": "icons/LogoSponsorBlocker128px.png",
"256": "icons/LogoSponsorBlocker256px.png"
},
"browser_specific_settings": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "57.0"
}
},
"manifest_version": 2
}

0 comments on commit e82beb8

Please sign in to comment.