1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-30 01:40:55 +00:00

Initial commit for modular FrankerFaceZ rewrite.

This commit is contained in:
SirStendec 2015-01-12 17:58:07 -05:00
parent b74fdaa22b
commit f1377bc989
27 changed files with 2717 additions and 1034 deletions

View file

@ -0,0 +1,27 @@
// ==UserScript==
// @name FrankerFaceZ
// @namespace FrankerFaceZ
// @include *.twitch.tv/*
// @exclude api.twitch.tv/*
// @grant none
// @icon http://cdn.frankerfacez.com/icon32.png
// @version 1.56
// ==/UserScript==
function ffz_init()
{
var script = document.createElement('script');
script.type = 'text/javascript';
var debug = localStorage.ffzDebugMode == "true";
if ( debug )
script.src = "//localhost:8000/script/script.js";
else
script.src = "//cdn.frankerfacez.com/script/script.min.js";
var head = document.getElementsByTagName('head')[0];
if(head) head.appendChild(script);
}
ffz_init();