raingart / Nova-YouTube-extension

Apache License 2.0
218 stars 11 forks source link

[rant] it's always something with youtube #172

Open KamelittaOida opened 7 months ago

KamelittaOida commented 7 months ago

feast your eyes. on what's hopefully NOT about to come.

Screenshot 2024-04-16 at 13-29-57 Fallout New Vegas Is Genius And Here's Why

https://www.reddit.com/r/youtube/comments/1c4z1xh/whoever_is_responsible_needs_fired/

https://www.reddit.com/r/youtube/comments/1c4wh0u/this_new_ui_sucks_and_theres_no_option_to_disable/

you getting anxiety already raingart? lol comments seem to be missing entirely, so this could be some wacky interim AI design.

raingart commented 7 months ago

they've been doing a lot of A/B testing for the last month and a half almost all new features can be disabled via flags for example: flags.kevlar_watch_grid = false; The algorithm for detecting ad blockers has also been improved, which has been changed with chat. This is only a small part of what I noticed. Let's wait and see, the final UI result is unclear.

Of the most elegant, I liked this solution. Manipulation via CSS: https://greasyfork.org/en/scripts/492207-youtube-comments-section-first/code

KamelittaOida commented 7 months ago

The algorithm for detecting ad blockers has also been improved, which has been changed with chat.

I used to be a staunch ad-block hater and Premium subscriber, but given how many of my innocuous comments about economy etc get censored, I changed my mind. f current youtube.

i only ublock for very annoying visual items or for videos that keep scrolling alongside you. for youtube a guy misuses the skip-ahead feature of html5 https://www.adskipper.me/ he also has a subreddit.

raingart commented 7 months ago

if the new design annoys you, you can use this script for example https://greasyfork.org/en/scripts/492221-pre-2024-youtube-ui/code

to get a list of all flags, use the following in the browser console: ytcfg.get('EXPERIMENT_FLAGS')

The easiest way is to change the specified script (like example) by adding new flags. But keep in mind that flags are removed approximately every six months.

if you are nostalgic for the old design see #108

KamelittaOida commented 7 months ago

if the new design annoys you, you can use this script for example

so far it only shows up while I'm not logged in. while logged in with an account it's all good.

thanks for the fallback option and good that it can be changed easily.

misspent commented 7 months ago

If you use uBlock Origin, then you can add these filter to it (or import?):

! ======={ Fix YouTube UI }=======
! Bring back old Youtube UI Layout
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_grid, false)

! Fix Video being Too Big on the old UI (right side of the video & FullScreen button is cut-off without these filters)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_page_columns_top_padding, 24)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_page_horizontal_margin, 24)

! Fix Comment Section bugs (profile pictures being small, comments being weird, ...)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.small_avatars_for_comments, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.small_avatars_for_comments_ep, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_watch_compact_comments, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_watch_compact_comments_header, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.optimal_reading_width_comments_ep, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_comments_panel_button, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_comments_ep_disable_theater, true)

! fix Live Chat on old UI (haven't tested these)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.live_chat_over_engagement_panels, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.live_chat_scaled_height, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.live_chat_smaller_min_height, false)

! add Volume control to Youtube Shorts (Experimental Youtube feature that's disabled by default)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.desktop_shorts_volume_controls, true)

! Disable data collection and checking for ads (i think)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_player_check_ad_state_on_stop, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.html5_force_debug_data_for_client_tmp_logs, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_watch_log_theater_mode, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.enable_is_extended_monitoring, false)

! others (don't know what these ones do but they are Experimental Flags
! and based on my research they shouldn't be enabled (or disabled)
! if you know what they do let me know) (feel free to delete these or experiment with them)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_grid_hide_chips, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_grid_reduced_top_margin_rich_grid, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.swatcheroo_direct_use_rich_grid, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.main_app_sink_wrapper_batch_1, true)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.reels_web_disable_persistent_guide_shorts, true)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_enable_deeper_metadata_highlight_styling, true)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_player_enable_featured_product_banner_exclusives_on_desktop, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.main_app_controller_extraction_batch_18, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.main_app_controller_extraction_batch_19, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.no_iframe_for_web_stickiness, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.remove_masthead_channel_banner_on_refresh, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_watch_theater_chat, false)
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.web_watch_theater_fixed_chat, false)