I started to fiddle around with chrome and got interested in the extension feature, but found out that you can only use em if you're using the Dev channel of chrome. I ended up doing that and now i'm having a difficulty following this tutorial.
http://code.google.com/chrome/extensions/getstarted.html
I can't get the icon to appear on the extension and when i try to edit the JSON file to add the "popup.html" line to it, it gives me this error(the file isn't a proper JSON )
Does anyone know where i can get help with this??
Page 1 of 1
not getting the hang of these google extensions button image isn't loading and i can't edit JSON file without
#2
Posted 04 December 2009 - 09:33 PM
Did you save the file as manifest.json and not manifest.json.txt?
#3
Posted 05 December 2009 - 12:31 AM
Yeah. I changed the extension type using the command prompt. I think that it's giving me that error because i'm not filling it in right. This is what I put:
{
"name": "My First Extension",
"version": "1.0",
"description": "The first extension that I made.",
"browser_action": {
"default_icon": "icon.png"
},
"permissions": [
"http://api.flickr.com/"
]
} ...
"browser_action": {
"default_icon": "icon.png",
"popup": "popup.html"
},
...
(p.s. i'm still fairly new to all of this so yeah.....)
{
"name": "My First Extension",
"version": "1.0",
"description": "The first extension that I made.",
"browser_action": {
"default_icon": "icon.png"
},
"permissions": [
"http://api.flickr.com/"
]
} ...
"browser_action": {
"default_icon": "icon.png",
"popup": "popup.html"
},
...
(p.s. i'm still fairly new to all of this so yeah.....)
#4
Posted 05 December 2009 - 12:42 AM
wait, nevermind. i got it. I WAS posting it wrong. This is how it was supposed to look:
{
"name": "My First Extension",
"version": "1.0",
"description": "The first extension that I made.",
"browser_action": {
"default_icon": "icon.png",
"popup": "popup.html"
},
"permissions": [
"http://api.flickr.com/"
]
}
{
"name": "My First Extension",
"version": "1.0",
"description": "The first extension that I made.",
"browser_action": {
"default_icon": "icon.png",
"popup": "popup.html"
},
"permissions": [
"http://api.flickr.com/"
]
}
Share this topic:
Page 1 of 1

Help



Back to top









