您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Sets the loop attribute when viewing video files in their own window/tab.
当前为
// ==UserScript== // @name Loop video files // @description Sets the loop attribute when viewing video files in their own window/tab. // @namespace var512 // @author var512 // @version 0.0.2 // @supportURL https://gitlab.com/var512 // @supportURL https://github.com/var512 // @include /\.(m4v|mp4|ogv|webm)$/ // @include /^data:video\// // @license MIT // @noframes // @grant none // @run-at document-start // ==/UserScript== (function () { "use strict"; const elements = document.getElementsByTagName("video"); if (elements.item(0) !== null) { elements.item(0).setAttribute("loop", "true"); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址