Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- window['yt'] = window['yt'] || {};
- yt['config_'] = yt.config_ || {};
- yt.config_['EXPERIMENT_FLAGS'] = yt.config_.EXPERIMENT_FLAGS || {};
- var iv = setInterval(function() {
- yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh = false;
- yt.config_.EXPERIMENT_FLAGS.kevlar_watch_fixie = false;
- yt.config_.EXPERIMENT_FLAGS.kevlar_structured_description_content_inline = true;
- yt.config_.EXPERIMENT_FLAGS.web_button_rework = false;
- yt.config_.EXPERIMENT_FLAGS.kevlar_watch_modern_metapanel = false;
- yt.config_.EXPERIMENT_FLAGS.web_sheets_ui_refresh = false;
- yt.config_.EXPERIMENT_FLAGS.web_modern_buttons = false;
- yt.config_.EXPERIMENT_FLAGS.web_modern_subscribe_style = false;
- yt.config_.EXPERIMENT_FLAGS.web_searchbar_style = "default";
- }, 1);
- var to = setTimeout(function() {
- clearInterval(iv);
- }, 1000)
- })();
- (function() {
- ApplyCSS();
- function ApplyCSS() {
- var styles = document.createElement("style");
- styles.innerHTML=`
- .ryd-tooltip {
- position: absolute !important;
- right: 175px;
- top: 500px;
- }
- .yt-spec-button-shape-next--mono.yt-spec-button-shape-next--tonal {
- color: var(--yt-spec-text-primary);
- background-color: rgb(0 0 0 / 0%) !important;
- }
- .yt-spec-touch-feedback-shape--touch-response .yt-spec-touch-feedback-shape__fill {
- background-color: rgb(0 0 0 / 0%);
- }
- button.yt-spec-button-shape-next.yt-spec-button-shape-next--tonal.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-leading.yt-spec-button-shape-next--segmented-start:hover {
- background-color: rgb(255 0 0 / 0%) !important;
- }
- button.yt-spec-button-shape-next.yt-spec-button-shape-next--tonal.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-only-default.yt-spec-button-shape-next--segmented-end:hover {
- background-color: rgb(255 0 0 / 0%) !important;
- }
- button.yt-spec-button-shape-next.yt-spec-button-shape-next--tonal.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-leading.yt-spec-button-shape-next--segmented-start:active {
- background-color: rgb(255 0 0 / 0%) !important;
- }
- button.yt-spec-button-shape-next.yt-spec-button-shape-next--tonal.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--icon-only-default.yt-spec-button-shape-next--segmented-end:active {
- background-color: rgb(255 0 0 / 0%) !important;
- }
- .yt-spec-touch-feedback-shape--touch-response .yt-spec-touch-feedback-shape__stroke {
- border: 1px solid rgb(255 0 0 / 0%) !important;
- }
- ytd-rich-grid-media[rounded-container] #dismissed.ytd-rich-grid-media {
- border-radius: 1px !important;
- }
- ytd-rich-metadata-renderer[rounded] {
- border-radius: 1px;
- }
- ytd-playlist-thumbnail[size=medium] a.ytd-playlist-thumbnail, ytd-playlist-thumbnail[size=medium]:before {
- border-radius: 1px;
- }
- yt-chip-cloud-chip-renderer[modern-chips][chip-style] {
- border-radius: 20px;
- border: 1px solid var(--yt-spec-10-percent-layer);
- }
- yt-chip-cloud-chip-renderer[modern-chips][chip-style] {
- border-radius: 1px;
- border: none;
- }
- ytd-thumbnail[size] ytd-thumbnail-overlay-time-status-renderer.ytd-thumbnail, ytd-thumbnail[size] ytd-thumbnail-overlay-button-renderer.ytd-thumbnail {
- border-radius: 1px;
- }
- .ytp-settings-menu.ytp-rounded-menu, .ytp-screen-mode-menu.ytp-rounded-menu {
- border-radius: 1px;
- }
- ytd-guide-entry-renderer[guide-refresh] yt-interaction.ytd-guide-entry-renderer {
- border-radius: 1px !important;
- }
- yt-img-shadow.ytd-guide-entry-renderer {
- border-radius: 1px;
- }
- #endpoint.yt-simple-endpoint.ytd-guide-entry-renderer {
- border-radius: 1px !important;
- }
- yt-img-shadow.ytd-guide-entry-renderer {
- border-radius: 1px;
- }
- .player-container.ytd-reel-video-renderer {
- border-radius: 1px;
- }
- ytd-playlist-panel-renderer[modern-panels]:not([within-miniplayer]) #container.ytd-playlist-panel-renderer {
- border-radius: 1px;
- }
- yt-interaction.circular .fill.yt-interaction, yt-interaction.circular .stroke.yt-interaction {
- border-radius: 1px;
- }
- ytd-guide-entry-renderer[guide-refresh] {
- border-radius: 1px;
- }
- #home-page-skeleton .video-details {
- border-radius: 1px;
- }
- #home-page-skeleton .rich-thumbnail.rounded-thumbs, #home-container-skeleton .rich-thumbnail.rounded-thumbs:before {
- border-radius: inherit;
- }
- ytd-searchbox[desktop-searchbar-style=rounded_corner_borders_light_btn] #search-icon-legacy.ytd-searchbox, ytd-searchbox[desktop-searchbar-style=rounded_corner_autofocus] #search-icon-legacy.ytd-searchbox {
- border-radius: 1px 1px 1px 1px;
- }
- ytd-searchbox[desktop-searchbar-style=rounded_corner_borders_light_btn] #container.ytd-searchbox, ytd-searchbox[desktop-searchbar-style=rounded_corner_autofocus] #container.ytd-searchbox {
- border-radius: 1px 1px 1px 1px;
- }
- ytd-thumbnail[size=large] a.ytd-thumbnail, ytd-thumbnail[size=large]:before {
- border-radius: 1px;
- }
- /*remove if no YT enhancer */
- /*ytd-video-primary-info-renderer[has-date-text] #info-text.ytd-video-primary-info-renderer {
- top: 28px;
- position: relative;
- }
- ytd-video-primary-info-renderer[flex-menu-enabled] #info.ytd-video-primary-info-renderer {
- bottom: 84px;
- position: relative;
- }*/
- /*remove if no YT enhancer */
- .yt-spec-button-shape-next--icon-only-default {
- border-radius: 1px 1px 1px 1px;
- }
- ytd-thumbnail[size=medium] a.ytd-thumbnail, ytd-thumbnail[size=medium]:before {
- border-radius: 1px;
- }
- .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--segmented-start {
- border-radius: 1px 1px 1px 1px;
- height: 40px;
- }
- .yt-spec-button-shape-next--size-m.yt-spec-button-shape-next--segmented-end {
- border-radius: 1px 1px 1px 1px;
- }
- ytd-video-primary-info-renderer[use-yt-sans20-light] .title.ytd-video-primary-info-renderer {
- font-family: "Roboto",sans-serif;
- font-weight: 400;
- font-size: 18px;
- }`
- document.head.appendChild(styles);
- }
- })();
Add Comment
Please, Sign In to add comment