1 var buttons
= require('sdk/ui/button/action');
2 var tabs
= require("sdk/tabs");
3 var button
= buttons
.ActionButton({
7 "16": "./img/logo16.png",
8 "32": "./img/logo32.png",
9 "64": "./img/logo64.png"
14 function handleClick(state
) {
15 tabs
.open("http://115.com/?mode=wangpan");
20 var data
= require("sdk/self").data
;
21 var pageMod
= require("sdk/page-mod");
24 include
: ["http://115.com/*"],
25 contentScriptWhen
:"end",
26 contentScriptFile
: [data
.url("js/115.js")],