mirror of https://github.com/gorhill/uBlock.git
Fix missing "Block element" in Firefox's menu
Regression from:
- 58620fb051
This commit is contained in:
parent
1d93d6f64e
commit
4f89a6f89d
|
@ -73,7 +73,7 @@
|
|||
"open_in_tab": true
|
||||
},
|
||||
"permissions": [
|
||||
"contextMenus",
|
||||
"menus",
|
||||
"privacy",
|
||||
"storage",
|
||||
"tabs",
|
||||
|
|
|
@ -297,6 +297,7 @@ try {
|
|||
|
||||
// Final initialization steps after all needed assets are in memory.
|
||||
|
||||
// Start network observers.
|
||||
µb.webRequest.start();
|
||||
|
||||
// Ensure that the resources allocated for decompression purpose (likely
|
||||
|
@ -318,10 +319,12 @@ initializeTabs();
|
|||
: 0
|
||||
);
|
||||
|
||||
µb.contextMenu.update(null);
|
||||
// Force an update of the context menu according to the currently
|
||||
// active tab.
|
||||
µb.contextMenu.update();
|
||||
|
||||
// https://github.com/uBlockOrigin/uBlock-issues/issues/717
|
||||
// Prevent the extensions from being restarted mid-session.
|
||||
// Prevent the extension from being restarted mid-session.
|
||||
browser.runtime.onUpdateAvailable.addListener(details => {
|
||||
const toInt = vAPI.app.intFromVersion;
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue