mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-10 16:10:55 +00:00
4.32.3
* Fixed: The FFZ Control Center button being positioned incorrectly on streamer dashboard pages. * Fixed: Profile rules for the current category/title not working on certain pages. * Fixed: Swap Sidebars causing rendering issues when in theater mode, with the chat below the player, when not using FrankerFaceZ's Portrait Mode option. * Fixed: The placeholder text being positioned wrong when using Twitch's WYSIWYG chat input. * Fixed: The entire extension loading when viewing an embedded clip, causing undue load. * Changed: Add a link to YouTube's Privacy Policy to the legal page.
This commit is contained in:
parent
370a579635
commit
155938f584
15 changed files with 74 additions and 25 deletions
12
src/entry.js
12
src/entry.js
|
@ -7,14 +7,16 @@
|
|||
|
||||
const DEBUG = localStorage.ffzDebugMode == 'true' && document.body.classList.contains('ffz-dev'),
|
||||
HOST = location.hostname,
|
||||
FLAVOR =
|
||||
SERVER = DEBUG ? '//localhost:8000' : '//cdn.frankerfacez.com',
|
||||
script = document.createElement('script');
|
||||
|
||||
let FLAVOR =
|
||||
HOST.includes('player') ? 'player' :
|
||||
HOST.includes('clips') ? 'clips' :
|
||||
(location.pathname === '/p/ffz_bridge/' ? 'bridge' : 'avalon'),
|
||||
SERVER = DEBUG ? '//localhost:8000' : '//cdn.frankerfacez.com',
|
||||
//CLIPS = /clips\.twitch\.tv/.test(location.hostname) ? 'clips/' : '',
|
||||
(location.pathname === '/p/ffz_bridge/' ? 'bridge' : 'avalon');
|
||||
|
||||
script = document.createElement('script');
|
||||
if (FLAVOR === 'clips' && location.pathname === '/embed')
|
||||
FLAVOR = 'player';
|
||||
|
||||
script.id = 'ffz-script';
|
||||
script.async = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue