jusfox/index.js
2016-07-19 17:37:04 +02:00

9 lines
176 B
JavaScript

var self = require("sdk/self");
require("sdk/tabs").on("ready", getLinks);
function getLinks(tab) {
tab.attach({
contentScriptFile: self.data.url("jusfox.js")
});
}