open clipboard's URL in current/new tab

This commit is contained in:
usk 2018-01-03 07:19:25 +09:00
parent f484fda718
commit 54a7662cd1
8 changed files with 39 additions and 3 deletions

View file

@ -60,6 +60,8 @@ const exec = (operation) => {
type: messages.CONSOLE_SHOW_INFO,
text: 'Current url yanked',
});
case operations.URLS_PASTE:
return urls.paste(window, operation.newTab ? operation.newTab : false);
default:
browser.runtime.sendMessage({
type: messages.BACKGROUND_OPERATION,