This commit is contained in:
Jaex 2017-02-10 14:19:41 +03:00
parent 9cc59a1f8f
commit 14a0c1db86
5 changed files with 0 additions and 32 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -1,14 +0,0 @@
chrome.contextMenus.create({
"id": "ShareX",
"title": "Upload with ShareX",
"contexts": ["selection", "image", "video", "audio"]
});
chrome.contextMenus.onClicked.addListener(onClicked);
function onClicked(info, tab) {
chrome.runtime.sendNativeMessage("com.getsharex.sharex", {
URL: info.srcUrl,
Text: info.selectionText
});
}

View file

@ -1,18 +0,0 @@
{
"manifest_version": 2,
"name": "ShareX",
"version": "1.0.1",
"description": "Adds 'Upload with ShareX' button to image, video, audio and text selection context menu.",
"author": "ShareX Team",
"homepage_url": "https://getsharex.com",
"icons": {
"16": "Icons/ShareX-16.png",
"48": "Icons/ShareX-48.png",
"128": "Icons/ShareX-128.png"
},
"background": {
"persistent": false,
"scripts": [ "eventPage.js" ]
},
"permissions": [ "contextMenus", "nativeMessaging" ]
}