1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-01 08:38:32 +00:00

Don't try running FFZ on the blog sub-domain.

This commit is contained in:
SirStendec 2017-12-01 15:31:59 -05:00
parent cf8774f1f2
commit 691c09eb18

View file

@ -2,7 +2,7 @@
'use strict';
(() => {
// Don't run on certain sub-domains.
if ( /^(?:player|im|chatdepot|tmi|api|)\./.test(location.hostname) )
if ( /^(?:blog|player|im|chatdepot|tmi|api|)\./.test(location.hostname) )
return;
const DEBUG = localStorage.ffzDebugMode == 'true' && document.body.classList.contains('ffz-dev') && ! window.Ember,