-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFixYoutubeUI.txt
83 lines (73 loc) · 6.74 KB
/
FixYoutubeUI.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
! Title: Fix Youtube's UI on Desktop
! Version: 0.3
! Expires: 10 days
! Description: Youtube keeps changing their UI and making it worse, this fixes that
! Homepage: https://github.com/sepehrkiller/FixYoutubeUI
! Homepage for the repository: https://github.com/sepehrkiller/FixYoutubeUI
! Important notes:
! - this list is a work in progress, if you can help check out the github page https://github.com/sepehrkiller/FixYoutubeUI
! - Please use this list only with uBlock Origin
! ======={ 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)
! Makes the Thumbnails of Recommended section videos smaller (additions by theanyoneuser, original script by we don't know who :( )
youtube.com###related #thumbnail.ytd-rich-grid-media:style(margin-right: 8px!important;height: 94px!important;width: 168px!important;min-width: 168px!important;)
youtube.com###related #avatar-link.ytd-rich-grid-media, #related #attached-survey.ytd-rich-grid-media, #related .ytd-rich-shelf-renderer .button-container.ytd-rich-shelf-renderer:style(display:none!important;)
youtube.com###related #dismissible.ytd-rich-grid-media:style(display:flex;flex-direction:row!important;)
youtube.com###related #details.ytd-rich-grid-media:style(width: 100%!important;min-width: 0!important;)
youtube.com###related #contents ytd-rich-item-renderer:style(margin:0!important;margin-top:8px!important;)
youtube.com###related ytd-rich-grid-row #contents.ytd-rich-grid-row,#related h3.ytd-rich-grid-media,#related ytd-rich-section-renderer #content,#related #rich-shelf-header.ytd-rich-shelf-renderer:style(margin:0!important;)
youtube.com###related ytd-rich-item-renderer.ytd-rich-grid-row,#content.ytd-rich-item-renderer:style(width:100%!important;)
youtube.com###related #video-title.ytd-rich-grid-media:style(font-size:1.4rem!important;)
youtube.com###related .ytd-channel-name a,#related #metadata-line.ytd-video-meta-block span:style(font-size:12px!important;)
youtube.com###related ytd-rich-grid-renderer #contents:style(padding-top:0px!important;)
youtube.com###related .ytd-rich-shelf-renderer ytd-rich-item-renderer.ytd-rich-shelf-renderer:style(width:130px!important;min-width: 130px!important;)
youtube.com###related #contents.ytd-rich-shelf-renderer:style(display: flex !important;flex-direction: row !important;gap: 8px !important;flex-wrap: nowrap!important;max-width: 400px!important;overflow-x: scroll!important;overflow-y: hidden!important)
youtube.com###related .ytd-rich-shelf-renderer .yt-core-image:style(object-fit: cover!important;)
youtube.com###related ytd-rich-section-renderer #contents:style(margin-left:0!important)
youtube.com###related #contents ytd-rich-section-renderer ytd-rich-item-renderer:style(margin-top:0px!important;)
youtube.com###related .ytd-rich-shelf-renderer ytd-rich-item-renderer.ytd-rich-shelf-renderer[hidden=""]:style(display:block!important;)
youtube.com###related #dismissible.ytd-rich-shelf-renderer:style(margin:0!important; border-color: transparent!important)
! Fixes title size being too big (wrote by theanyoneuser, fully original)
youtube.com## yt-formatted-string.style-scope.ytd-watch-metadata:style(font-size: 20px!important; line-height: 28px!important)
! Minor fixes for the suggested videos layout (written by mystictide)
youtube.com###related #avatar-container:style(display: none!important;)
youtube.com###related ytd-rich-item-renderer:style(width: 100%!important;)