您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
中移网大倍速播放!
// ==UserScript== // @name 中移网大倍速播放 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 中移网大倍速播放! // @author yuzibao // @match https://wangda.chinamobile.com/* // @require https://code.jquery.com/jquery-2.1.4.min.js // @grant none // ==/UserScript== (function () { 'use strict'; $(() => { $("body").append(` <div id='video_set' style="position:fixed;right:10px;top:10px;z-index:9999;background:#dedede"> <input id="setPlay" type="number" placeholder="请输入倍率" style="padding:10px 0 10px 14px;border:none; border-radius:48px;"> </div> `) $(document).on('change', '#video_set #setPlay', function () { console.log(this.value); if (this.value <= 4) { document.querySelector("video").playbackRate = this.value; } else { alert("建议最大为4倍速") } }) }) // Your code here... })();