Skip to content

Instantly share code, notes, and snippets.

@samfundev
Created September 21, 2018 11:10

Revisions

  1. samfundev created this gist Sep 21, 2018.
    22 changes: 22 additions & 0 deletions BetterTTV.user.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    // ==UserScript==
    // @name BetterTTV
    // @namespace https://nightdev.com/betterttv/
    // @version 0.1
    // @description BetterTTV enhances Twitch with new features, emotes, and more. We like to think we make Twitch better.
    // @author night
    // @match *://*.twitch.tv/*
    // @exclude *://*.twitch.tv/*.html
    // @exclude *://*.twitch.tv/*.html?*
    // @exclude *://*.twitch.tv/*.htm
    // @exclude *://*.twitch.tv/*.htm?*
    // @grant none
    // ==/UserScript==

    (function betterttv() {
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = 'https://cdn.betterttv.net/betterttv.js';
    var head = document.getElementsByTagName('head')[0];
    if (!head) return;
    head.appendChild(script);
    })()