Created
June 24, 2020 11:30
-
-
Save alejandrocoding/9d9d015d8ce4a85279706d56e96560cd to your computer and use it in GitHub Desktop.
Attempt of use forbidden - bookmark API from contentScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log('Starting contentScript'); | |
chrome.bookmarks.create( | |
{ | |
parentId: null, | |
title: 'My first BookMark from Extension!' | |
}, | |
(newFolder) => console.log('added folder: ' + newFolder.title) | |
); | |
console.log('Ending contentScript'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment