vendredi 31 juillet 2015

How to make options for Google extensions

Recently, I've started learning how to make Google extensions. My problem is that I don't know how to make a button in which I click on it, show me options of extension like this: http://ift.tt/1DWHgDd. I didn't find any result. Is there any tutorial which shows how to make this button?

P.s. the icon of my extension appear, but nothing happens when I click on it. here is the code of manifest.json:

{ "name": "Extension Name", "version": "0.1.1.2", "description": "Extension's description", "manifest_version": 2, "options_page": "options.html", "background": { "page": "index.html" }, "browser_action": { "name": "Manipulate DOM", "icons": { "128":"icon.png" }, "default_icon": "icon.png" }, "content_scripts": [ { "js": [ "js-resource.js" ], "matches": [ "http://*/*", "https://*/*"] }] }

Aucun commentaire:

Enregistrer un commentaire