mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 01:56:55 +00:00
4.54.0
* Added: Setting to hide the Turbo button in the Twitch navigation bar. (Closes #1410, #1389) * Added: Setting to automatically expand chat when entering full-screen. (Closes #1377) * Changed: The "Change Name & Color" chat action now has buttons to automatically fill in a user's existing name and color. (Closes #1397) * Fixed: Integration issue with a Twitch chat experiment causing certain features to not work correctly. * Removed: Old setting to hide a "Discover" link in the navigation bar, as that seems to be long since removed.
This commit is contained in:
parent
92fcc853a6
commit
d01f66c6f3
10 changed files with 144 additions and 9 deletions
|
@ -13,7 +13,7 @@ const STYLE_VALIDATOR = document.createElement('span');
|
|||
|
||||
const CLASSES = {
|
||||
//'unfollow': '.follow-btn__follow-btn--following,.follow-btn--following',
|
||||
'top-discover': '.navigation-link[data-a-target="discover-link"]',
|
||||
//'top-discover': '.navigation-link[data-a-target="discover-link"]',
|
||||
'side-nav': '.side-nav,#sideNav',
|
||||
'side-nav-viewers': '.side-nav-card__live-status',
|
||||
'side-rec-channels': '.side-nav .recommended-channels,.side-nav .side-nav-section + .side-nav-section:not(.online-friends):not(.bd--shelf)',
|
||||
|
@ -329,7 +329,7 @@ export default class CSSTweaks extends Module {
|
|||
}
|
||||
});
|
||||
|
||||
this.settings.add('layout.discover', {
|
||||
/*this.settings.add('layout.discover', {
|
||||
default: true,
|
||||
ui: {
|
||||
path: 'Appearance > Layout >> Top Navigation',
|
||||
|
@ -340,6 +340,15 @@ export default class CSSTweaks extends Module {
|
|||
this.toggleHide('top-discover', !val);
|
||||
this.updateTopNav();
|
||||
}
|
||||
});*/
|
||||
|
||||
this.settings.add('layout.turbo-cta', {
|
||||
default: true,
|
||||
ui: {
|
||||
path: 'Appearance > Layout >> Top Navigation',
|
||||
title: 'Allow the Twitch Turbo button to appear.',
|
||||
component: 'setting-check-box'
|
||||
}
|
||||
});
|
||||
|
||||
this.settings.add('layout.prime-offers', {
|
||||
|
@ -486,7 +495,7 @@ export default class CSSTweaks extends Module {
|
|||
this.toggleHide('side-offline-channels', this.settings.get('layout.side-nav.hide-offline'));
|
||||
this.toggleHide('discover-luna', this.settings.get('layout.hide-discover-luna'));
|
||||
this.toggleHide('prime-offers', !this.settings.get('layout.prime-offers'));
|
||||
this.toggleHide('top-discover', !this.settings.get('layout.discover'));
|
||||
//this.toggleHide('top-discover', !this.settings.get('layout.discover'));
|
||||
this.toggle('hide-unfollow-button', this.settings.get('channel.hide-unfollow'));
|
||||
|
||||
this.toggleHide('pinned-hype-chat', ! this.settings.get('chat.hype.show-pinned'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue