您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
reverts the shitty watch page and font to the old one with minimal code
当前为
// ==UserScript== // @name youtube watch page update reverter // @version 4.5 // @description reverts the shitty watch page and font to the old one with minimal code // @author Cat Bot // @license MIT // @match *://*.youtube.com/* // @namespace https://www.reddit.com/user/Cat_Bot4 // @icon https://www.youtube.com/favicon.ico // @grant none // ==/UserScript== (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 = false; yt.config_.EXPERIMENT_FLAGS.web_modern_subscribe_style = false; yt.config_.EXPERIMENT_FLAGS.web_searchbar_style = "default"; yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_attached_subscribe = false; yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_clickable_description = false; yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_compact_view_count = false; yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_description_info_dedicated_line = false; yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_description_inline_expander = false; yt.config_.EXPERIMENT_FLAGS.kevlar_watch_modern_panels = false; yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_relative_date = false; yt.config_.EXPERIMENT_FLAGS.kevlar_watch_metadata_refresh_description_lines = "3"; }, 1); var to = setTimeout(function() { clearInterval(iv); }, 1000) })(); (function() { ApplyCSS(); function ApplyCSS() { var styles = document.createElement("style"); styles.innerHTML=` 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); } })();