Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
https://github.com/NanoAdblocker/NanoCore/issues/40
Browse files Browse the repository at this point in the history
  • Loading branch information
jspenguin2017 committed Jan 5, 2018
1 parent bb4fbe2 commit 82b51d3
Show file tree
Hide file tree
Showing 3 changed files with 1,338 additions and 15 deletions.
15 changes: 0 additions & 15 deletions platform/chromium/vapi-background.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,21 +661,6 @@ vAPI.setIcon = (function() {
'128': 'img/128_on.png'
}
];

// Patch 2018-01-05: Special case for Edge, copying the whole file makes
// things harder to maintain down the road, and this script is only executed
// once per browser start so there is no performance issue
if ( typeof window.edge !== 'undefined' ) {
// TODO 2018-01-05: The size is wrong, but Edge does not seem to care
iconPaths = [
{
'38': 'img/128_off.png'
},
{
'38': 'img/128_on.png'
}
];
}

var onTabReady = function(tab, status, badge) {
if ( vAPI.lastError() || !tab ) { return; }
Expand Down
Loading

0 comments on commit 82b51d3

Please sign in to comment.