您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
需开启everthing的http服务,默认端口80。在视频链接后面加上后缀 ?t=30 ,那么进入视频链接就会自动跳转到30秒。
当前为
// ==UserScript== // @name Everything视频时间戳 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 需开启everthing的http服务,默认端口80。在视频链接后面加上后缀 ?t=30 ,那么进入视频链接就会自动跳转到30秒。 // @author openAI // @match http://localhost/* // @match http://127.0.0.1/* // @icon https://www.voidtools.com/e2.png // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; //获取url参数 const paramsStr = window.location.search const params = new URLSearchParams(paramsStr) const seconds = parseInt(params.get('t')) //进度条跳转 let myVideo = document.getElementsByName('media')[0]; myVideo.currentTime = seconds; })();