mirror of https://github.com/gorhill/uBlock.git
Remove unused code
This commit is contained in:
parent
f80fe365d3
commit
f20372cf73
|
@ -32,6 +32,15 @@
|
|||
</r:Description>
|
||||
</targetApplication>
|
||||
|
||||
<!-- Firefox for Android
|
||||
<targetApplication>
|
||||
<r:Description>
|
||||
<id>{{aa3c5121-dab2-40e2-81ca-7ea25febc110}}</id>
|
||||
<minVersion>24.0</minVersion>
|
||||
<maxVersion>39.0</maxVersion>
|
||||
</r:Description>
|
||||
</targetApplication> -->
|
||||
|
||||
<!-- Thunderbird
|
||||
<targetApplication>
|
||||
<r:Description>
|
||||
|
|
|
@ -1556,19 +1556,6 @@ vAPI.contextMenu.create = function(details, callback) {
|
|||
|
||||
/******************************************************************************/
|
||||
|
||||
vAPI.contextMenu.remove = function() {
|
||||
for ( var win of vAPI.tabs.getWindows() ) {
|
||||
this.unregister(win.document);
|
||||
}
|
||||
|
||||
this.menuItemId = null;
|
||||
this.menuLabel = null;
|
||||
this.contexts = null;
|
||||
this.onCommand = null;
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
vAPI.lastError = function() {
|
||||
return null;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue