BleepingComputer.com: not getting the hang of these google extensions

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

not getting the hang of these google extensions button image isn't loading and i can't edit JSON file without

#1 User is offline   k-Kariya 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 28
  • Joined: 03-September 09
  • Gender:Male

Posted 04 December 2009 - 07:23 PM

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??

#2 User is offline   CoolCatBad 

  • Forum Regular
  • PipPipPip
  • Find Topics
  • Group: Members
  • Posts: 233
  • Joined: 24-June 09

Posted 04 December 2009 - 09:33 PM

Did you save the file as manifest.json and not manifest.json.txt?

#3 User is offline   k-Kariya 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 28
  • Joined: 03-September 09
  • Gender:Male

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.....)

#4 User is offline   k-Kariya 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 28
  • Joined: 03-September 09
  • Gender:Male

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/"
]
}

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users