您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
It speeds up YouTube by 50% by modified configs (including the removal of the annoying "Video paused. Continue watching?" popup).
当前为
- // ==UserScript==
- // @name YouTube Web Tweaks
- // @version 2.1.1
- // @description It speeds up YouTube by 50% by modified configs (including the removal of the annoying "Video paused. Continue watching?" popup).
- // @author Magma_Craft
- // @license MIT
- // @match *://*.youtube.com/*
- // @namespace https://greasyfork.org/en/users/933798
- // @icon https://www.youtube.com/favicon.ico
- // @unwrap
- // @run-at document-start
- // @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_.IS_TABLET = true;
- yt.config_.DISABLE_YT_IMG_DELAY_LOADING = true;
- yt.config_.EXPERIMENT_FLAGS.polymer_verifiy_app_state = false;
- yt.config_.EXPERIMENT_FLAGS.warm_load_nav_start_web = false;
- yt.config_.EXPERIMENT_FLAGS.kevlar_player_response_swf_config_wrapper_killswitch = false;
- yt.config_.EXPERIMENT_FLAGS.desktop_player_touch_gestures = false;
- yt.config_.EXPERIMENT_FLAGS.web_animated_like = false;
- yt.config_.EXPERIMENT_FLAGS.web_animated_like_lazy_load = false;
- yt.config_.EXPERIMENT_FLAGS.render_unicode_emojis_as_small_images = true;
- yt.config_.EXPERIMENT_FLAGS.kevlar_refresh_on_theme_change = false;
- yt.config_.EXPERIMENT_FLAGS.kevlar_watch_cinematics = false
- }, 1);
- var to = setTimeout(function() {
- clearInterval(iv);
- }, 1000)
- })();
- // Ignoring the "Video paused. Continue watching?" popup
- var interval = setInterval(function() {
- window.wrappedJSObject._lact = Date.now();
- }, 300000);