mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-29 17:02:05 +13:00
Moved Chrome folder to https://github.com/ShareX/ShareX_Chrome
This commit is contained in:
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 |
|
@ -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
|
||||
});
|
||||
}
|
|
@ -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" ]
|
||||
}
|
Loading…
Reference in a new issue