Created
July 23, 2018 07:18
-
-
Save gilbertoquinteroA/882080787d0ecdbec95a08b3fb9d4758 to your computer and use it in GitHub Desktop.
This file contains 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
function onCreated(node) { | |
console.log(node); | |
console.log("done"); | |
} | |
var createBookmark = browser.bookmarks.create({ | |
title: "GOOGLE URL", | |
url: "https://www.google.com/" | |
}); | |
createBookmark.then(onCreated); |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>test</title> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains 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
{ | |
"name": "add site random", | |
"version": "1.0", | |
"description": "this is my first extension in production", | |
"manifest_version": 2, | |
"background": { | |
"scripts": ["app.js"] | |
}, | |
"permissions": [ | |
"notifications", | |
"activeTab" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment