From 35bc281f181b0aa35156547b909aad0c6c3d3e6e Mon Sep 17 00:00:00 2001 From: Mederic Date: Sat, 29 Aug 2020 10:48:36 +0200 Subject: [PATCH] Add shortcut --- manifest.json | 12 +++++++++++- popup.html | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 7cfbb32..dde5765 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "URLite", - "version": "0.2.6", + "version": "0.2.7", "description": "To reduce your too long url ", "permissions": ["activeTab", "clipboardWrite", "https://urlite.cc/*"], "browser_action": { @@ -19,5 +19,15 @@ "48": "images/favicon-48x48.png", "96": "images/favicon-96x96.png", "128": "images/favicon-128x128.png" + }, + "commands": { + "_execute_browser_action": { + "suggested_key": { + "windows": "Ctrl+Shift+U", + "mac": "Alt+Shift+U", + "chromeos": "Ctrl+Shift+U", + "linux": "Ctrl+Shift+U" + } + } } } \ No newline at end of file diff --git a/popup.html b/popup.html index 9487004..5973add 100644 --- a/popup.html +++ b/popup.html @@ -29,7 +29,7 @@