akira-kurogane / furigana-injector

Automatically exported from code.google.com/p/furigana-injector
2 stars 1 forks source link

Update chrome manifest.json file from 1 to 2 #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Change:
 "background_page": "background.html",
to
 "background": {scripts: ["jquery.js", "server_selector_obj.js", "background.js"]},

2. Change "page_actions" to "page_action". "icons" array -> "default_icon" 
scalar, "name" -> "default_title". Change setIcon() function calls to specify 
the path rather than the indexid.

3. The update advice says: "Port.tab is gone. Use Port.sender instead.". That 
will affect a lot of lines in background.js. But maybe all that is needed to 
change "port.tab" to "port.sender.tab".

Original issue reported on code.google.com by akira.kurogane@gmail.com on 17 Jul 2012 at 1:46