commit
f010f9c1b3
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Cookie Dialog Monster",
|
"name": "Cookie Dialog Monster",
|
||||||
"version": "5.5.6",
|
"version": "5.5.7",
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_appDesc__",
|
"description": "__MSG_appDesc__",
|
||||||
"icons": {
|
"icons": {
|
||||||
|
@ -64,16 +64,14 @@ chrome.contextMenus.onClicked.addListener((info, tab) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Listens to extension installed/updated
|
* @description Creates the context menu
|
||||||
*/
|
*/
|
||||||
|
|
||||||
chrome.runtime.onInstalled.addListener(() => {
|
chrome.contextMenus.create({
|
||||||
chrome.contextMenus.create({
|
contexts: ['all'],
|
||||||
contexts: ['all'],
|
documentUrlPatterns: chrome.runtime.getManifest().content_scripts[0].matches,
|
||||||
documentUrlPatterns: chrome.runtime.getManifest().content_scripts[0].matches,
|
id: reportMenuItemId,
|
||||||
id: reportMenuItemId,
|
title: chrome.i18n.getMessage('contextMenuText'),
|
||||||
title: chrome.i18n.getMessage('contextMenuText'),
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user