addbookmark command

This commit is contained in:
Shin'ya Ueoka 2018-05-07 22:00:30 +09:00
parent ef6bbd117e
commit d0eba2546a
3 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,9 @@
const create = (title, url) => {
return browser.bookmarks.create({
type: 'bookmark',
title,
url,
});
};
export { create };