Your manifest:
{
"manifest_version": 2,
"content_scripts": [ {
"exclude_globs": [ ],
"include_globs": [ "*" ],
"js": [ "465792.user.js" ],
"matches": [ "http://hitbox.tv/*",
"https://hitbox.tv/*"
]
} ],
"description": "Allows the use of Twitch emotes on Hitbox.",
"icons": { "128": "icon128.png" },
"name": "Hitbox Emotes",
"version": "1.1.4"
}
Your content script:
emotify.emoticons("",yourHundredLineObject);
I see two things that could be causing problems:
The websitee hitbox.tv prepended a www. to the url, which doesn't match what you listed. I think you want
matches: ["*://*.hitbox.tv/"]
(reference). Your globs also don't appear to be doing anything, and can be removed.Your content script is trying to use the hitbox defined function
emotify.emoticons
. Isolated worlds will prevent this. In order to call the function, you'll need to have a different content script write<script src="465792.user.js"></script>
into the webpage (example).