yank a URL
This commit is contained in:
parent
bbf90e77e9
commit
f6996a2274
4 changed files with 23 additions and 1 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue