mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 06:40:54 +00:00
4.20.41
* Added: Including `?ffz-no-settings` in the URL will prevent FrankerFaceZ from enabling any settings profiles. This should allow users to recover without resetting their settings if they somehow break FFZ and/or Twitch by changing settings. * Changed: Limit the maximum font size to 25 for the main page.
This commit is contained in:
parent
0c5dcb4d1b
commit
53b22d8a09
6 changed files with 52 additions and 9 deletions
|
@ -34,6 +34,15 @@ export default class SettingsManager extends Module {
|
|||
|
||||
this.updateSoon = debounce(() => this.updateRoutes(), 50, false);
|
||||
|
||||
// Do we want to not enable any profiles?
|
||||
try {
|
||||
const params = new URL(window.location).searchParams;
|
||||
if ( params ) {
|
||||
if ( params.has('ffz-no-settings') )
|
||||
this.disable_profiles = true;
|
||||
}
|
||||
} catch(err) { /* no-op */ }
|
||||
|
||||
// State
|
||||
this.__contexts = [];
|
||||
this.__profiles = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue