// ==UserScript==
// @description View Reddit ponymotes across the site
// @downloadURL http://rainbow.adery.net/betterponymotes.user.js
// @grant GM_log
// @grant GM_getValue
// @grant GM_setValue
// @include http://*/*
// @include https://*/*
// @name BetterPonymotes
// @namespace http://rainbow.mlas1.us/
// @require /*{{require_prefix}}*//bpm-resources.js?p=2&dver=/*{{data_version}}*/
// @require /*{{require_prefix}}*//pref-setup.js?p=2&cver=/*{{code_version}}*/
// @run-at document-start
// @updateURL http://rainbow.adery.net/betterponymotes.user.js
// @version /*{{version}}*/
// ==/UserScript==

/*******************************************************************************
**
** Copyright (C) 2012 Typhos
**
** This Source Code Form is subject to the terms of the Mozilla Public
** License, v. 2.0. If a copy of the MPL was not distributed with this
** file, You can obtain one at http://mozilla.org/MPL/2.0/.
**
*******************************************************************************/

// For linting- every global we access, more or less
/*
var self, chrome, opera, GM_getValue, GM_setValue; // Platform
var window, document, setTimeout, clearTimeout, FileReader; // Standard
var emote_map, sr_name2id, sr_id2name, tag_name2id, tag_id2name, manage_prefs; // Data
*/

(function(_global_this) {
"use strict";

var _checkpoint = (function() {
    var _start_time = Date.now(); // Grab this value before we do ANYTHING else
    var _last_time = _start_time;
    var _last_checkpoint = "head";

    return function(name) {
        var now = Date.now();
        var delta = (now - _last_time);
        var total = (now - _start_time);
        log_debug("Timing: " + _last_checkpoint + "->" + name + " = " + delta + " (total " + total + ")");

        _last_time = now;
        _last_checkpoint = name;
    };
})();

var DEV_MODE = false;

// Set at build time. Only relevant to the userscript.
var US_RESOURCE_PREFIX = "/*{{require_prefix}}*/";

var US_OPTIONS_PAGE = US_RESOURCE_PREFIX + "/options.html";

// Domain names on which the global emote converter will refuse to run,
// typically due to bad behavior. A common problem is JS attempting to
// dynamically manipulate page stylesheets, which will fail when it hits ours
// (as reading links back to chrome addresses are generally forbidden).
var DOMAIN_BLACKLIST = [
    "read.amazon.com", // Reads document.styleSheets and crashes
    "outlook.com" // Reported conflict; cause unknown
];

// ==UserScript==
// @description View Reddit ponymotes across the site
// @downloadURL http://rainbow.adery.net/betterponymotes.user.js
// @grant GM_log
// @grant GM_getValue
// @grant GM_setValue
// @include http://*/*
// @include https://*/*
// @name BetterPonymotes
// @namespace http://rainbow.mlas1.us/
// @require /*{{require_prefix}}*//bpm-resources.js?p=2&dver=/*{{data_version}}*/
// @require /*{{require_prefix}}*//pref-setup.js?p=2&cver=/*{{code_version}}*/
// @run-at document-start
// @updateURL http://rainbow.adery.net/betterponymotes.user.js
// @version /*{{version}}*/
// ==/UserScript==

/*******************************************************************************
**
** Copyright (C) 2012 Typhos
**
** This Source Code Form is subject to the terms of the Mozilla Public
** License, v. 2.0. If a copy of the MPL was not distributed with this
** file, You can obtain one at http://mozilla.org/MPL/2.0/.
**
*******************************************************************************/

// For linting- every global we access, more or less
/*
var self, chrome, opera, GM_getValue, GM_setValue; // Platform
var window, document, setTimeout, clearTimeout, FileReader; // Standard
var emote_map, sr_name2id, sr_id2name, tag_name2id, tag_id2name, manage_prefs; // Data
*/

(function(_global_this) {
"use strict";

var _checkpoint = (function() {
    var _start_time = Date.now(); // Grab this value before we do ANYTHING else
    var _last_time = _start_time;
    var _last_checkpoint = "head";

    return function(name) {
        var now = Date.now();
        var delta = (now - _last_time);
        var total = (now - _start_time);
        log_debug("Timing: " + _last_checkpoint + "->" + name + " = " + delta + " (total " + total + ")");

        _last_time = now;
        _last_checkpoint = name;
    };
})();

var DEV_MODE = false;

// Set at build time. Only relevant to the userscript.
var US_RESOURCE_PREFIX = "/*{{require_prefix}}*/";

var US_OPTIONS_PAGE = US_RESOURCE_PREFIX + "/options.html";

// Domain names on which the global emote converter will refuse to run,
// typically due to bad behavior. A common problem is JS attempting to
// dynamically manipulate page stylesheets, which will fail when it hits ours
// (as reading links back to chrome addresses are generally forbidden).
var DOMAIN_BLACKLIST = [
    "read.amazon.com", // Reads document.styleSheets and crashes
    "outlook.com", // Reported conflict; cause unknown
    "panelbase.net" // Reported conflict; cause unknown
];

Add panelbase.net to domain blacklist