aboutsummaryrefslogtreecommitdiff
path: root/src/content/actions/operation.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 16:37:26 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-08 16:37:26 +0900
commitf6996a2274f3293d7c5860174dd224b28877e108 (patch)
treeb4352278a935ea4127b0c235b4a486a6f5906e27 /src/content/actions/operation.js
parentbbf90e77e99846c970118744066fbc21006761b5 (diff)
yank a URL
Diffstat (limited to 'src/content/actions/operation.js')
-rw-r--r--src/content/actions/operation.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/actions/operation.js b/src/content/actions/operation.js
index d188a60..0c8b0ff 100644
--- a/src/content/actions/operation.js
+++ b/src/content/actions/operation.js
@@ -2,6 +2,7 @@ import operations from 'shared/operations';
import messages from 'shared/messages';
import * as scrolls from 'content/scrolls';
import * as navigates from 'content/navigates';
+import * as urls from 'content/urls';
import * as followActions from 'content/actions/follow';
const exec = (operation) => {
@@ -32,6 +33,8 @@ const exec = (operation) => {
return navigates.parent(window);
case operations.NAVIGATE_ROOT:
return navigates.root(window);
+ case operations.URLS_YANK:
+ return urls.yank(window);
default:
browser.runtime.sendMessage({
type: messages.BACKGROUND_OPERATION,