To set up the helper script, we need to run it on the background page for the extension. Here's one way to do that:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Tagpro Ping and Loss Reporter | |
// @namespace http://www.reddit.com/u/slothbear | |
// @description Reports ping or loss in Tagpro chat (Shift + P, Shift + L) | |
// @include http://tagpro-*.koalabeast.com:* | |
// @include http://tangent.jukejuice.com:* | |
// @include http://*.newcompte.fr:* | |
// @license whatever brah! | |
// @author slothbear / %bodyfat / Ruud | |
// @version 1.8 |