Merge pull request #50 from wanhose/v5.5.7

5.5.7
This commit is contained in:
wanhose 2022-07-31 12:14:37 +02:00 committed by GitHub
commit f010f9c1b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 9 deletions

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Cookie Dialog Monster",
"version": "5.5.6",
"version": "5.5.7",
"default_locale": "en",
"description": "__MSG_appDesc__",
"icons": {

View File

@ -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({
contexts: ['all'],
documentUrlPatterns: chrome.runtime.getManifest().content_scripts[0].matches,
id: reportMenuItemId,
title: chrome.i18n.getMessage('contextMenuText'),
});
chrome.contextMenus.create({
contexts: ['all'],
documentUrlPatterns: chrome.runtime.getManifest().content_scripts[0].matches,
id: reportMenuItemId,
title: chrome.i18n.getMessage('contextMenuText'),
});
/**