您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
append video source URL below video element
// ==UserScript== // @name EroThots Show Video Link // @namespace http://tampermonkey.net/ // @version 2024-08-12 // @description append video source URL below video element // @author neeeee // @match https://erothots1.com/* // @match https://erothots.co/* // @icon https://www.google.com/s2/favicons?sz=64&domain=undefined. // @license MIT // @grant none // ==/UserScript== (function() { 'use strict'; let videoPlayer = document.querySelector('.video-player'); let vPlayer = document.querySelector('.v-player'); let vSource = vPlayer.firstElementChild.src; let downloadLink = document.createElement('a'); videoPlayer.appendChild(downloadLink); downloadLink.setAttribute('download', ''); downloadLink.className = 'downloadLink'; downloadLink.href = vSource; downloadLink.innerHTML = `<strong>Download Source:</strong> <span style="text-decoration: underline;text-color: #a5adce;">${vSource}</span>`; })();