mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Fix missing "Block element" in Firefox's menu
Regression from:
- 58620fb051
This commit is contained in:
parent
1d93d6f64e
commit
4f89a6f89d
2 changed files with 6 additions and 3 deletions
|
@ -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 a new issue