diff --git a/background.js b/background.js index eb5dd3a..4fc7d23 100644 --- a/background.js +++ b/background.js @@ -2,14 +2,14 @@ chrome.runtime.onInstalled.addListener(function() { chrome.contextMenus.create({ - id: "play-in-mpv", + id: "chr2mpv", title: "Play link in MPV", contexts: ["link"], }); }); chrome.contextMenus.onClicked.addListener(function(info, tab) { - if (info.menuItemId == "play-in-mpv") playInMPV(info.linkUrl); + if (info.menuItemId == "chr2mpv") playInMPV(info.linkUrl); }); chrome.browserAction.onClicked.addListener(function(tab) { diff --git a/manifest.json b/manifest.json index c6fd51d..d41e9c7 100644 --- a/manifest.json +++ b/manifest.json @@ -3,8 +3,8 @@ "version": "1.0", "manifest_version": 2, "description": "Tries to play the current URL on MPV. Right-click on links or press the toolbar button to activate.", + "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA7KzhDu23iF29ixXsTXg3yin52AIiQ70VtigLNq/Z/eQtmopiYwhzvtqZtE2E75Eu7dY1+SefOpVyvUoPLrzKoy/XgaUG1UTS7qmdsjIKt5dWcVqg3JjiZ8ErNLhIRoUGWo3Ihi6xqigJDYy3nTgAhRSFRA31kLBrhCo00Vlm1LbK26H/WvSInr57N2dNmY1z2Em7IeMn109JSrfFKbrYPItuo2qh5/7R350h9x/Ijr4q0KUIIbEao4RS2Fp+aS4fnd9Vpu+B6bkOqXlNB7km3Zht6EZqOhHOCNve9sGa+i64TCiERFlgOQIiTCQNs5aChcgxhnwzC91GI1D5jU3n7wIDAQAB", "permissions": ["activeTab", "contextMenus"], - "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsYoruVvDtMLapAPBtmm18ngGLH/+pqqaTV8Olaxbr4xOYM44/TqjEt3W3DwZuSGaKvpXOFsxgreM3J99xeKEEdRDWa1/2VjVc+K09V6dcHwJizEh/Fq4jNA7/is/7fr8baNYbHjRPak/NhLbljOx2hvCoN10lEt0HffgklPUC6uDcLEWQFbgVRTVY2bWmf73uBY3YjEZXH4O6jdbEuLXoeyO/poYC61YUqfQ46ncEkNkv1/JlDqtEuEzsubhYmIUjD5Phrw1UDuNF1KLhWjL1ciettxzqbgAgI3d2exAl3ug6dOYt0+5p8DbAuKiIqKD9/v/R+h9wlP1nzbs5LrSdwIDAQAB", "icons": { "128": "img/icon_128.png", "64": "img/icon_64.png",