I wanna create a chrome extension that when you click it that you open my website. But how? I tried searching on google but this is all what I could create:
{
"name": "My First Extension",
"version": "1.0",
"description": "The first extension that I made.",
"browser_action": {
"default_icon": "icon.png"
chrome.tabs.create({'url': chrome.extension.getURL('popup.html')}, function(tab) {
// Tab opened.
});
},
"permissions": [
"http://api.flickr.com/"
]
}
But this doesn't seem to work.