1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
hipchat-emoticons-for-all/firefox/index.js

10 lines
311 B
JavaScript
Raw Normal View History

2015-08-19 15:20:16 +01:00
var self = require('sdk/self');
var pageMod = require("sdk/page-mod");
2015-08-20 11:17:37 +01:00
var sites = require("data/site-decoder.json")
2015-08-20 10:35:30 +01:00
2015-08-20 11:17:37 +01:00
for (var i = 0; i < sites.length; i++) {
pageMod.PageMod({
include: sites[i][0],
contentScriptFile: ["lib/jquery.js", "./image_lookup.js", "injections/" + sites[i][1]]
});
}