您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
CSS Styles for VideoPlayerMagic
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.sleazyfork.org/scripts/487369/1540860/VideoPlayerMagic-Styles.js
// ==UserScript== // @name VideoPlayerMagic-Styles // @namespace vpm-s // @version 2025_02_21_1 // @description CSS Styles for VideoPlayerMagic // @author SimplyMe // @license MIT // @grant none // ==/UserScript== let vpmStyles = { 'pornhub': `div#player.maximized {position: fixed !important; top: 0; left: 0; height: 100vh !important; width: 100vw !important; z-index: 5000;} div#player.maximized video-element {height: inherit; width: inherit;}`, 'xhamster': `div#player-container.maximized {position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; z-index: 5000;}`, 'spankbang': `#video #video_container div#main_video_player.maximized {position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; z-index: 5000;}`, 'eporner': `div#EPvideo.maximized {position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; z-index: 5000;}`, 'hypnotube': `div.plyr.maximized {position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; z-index: 5000; background: #000;}`, 'pmvhaven': `div#fluid_video_wrapper_VideoPlayer.maximized {position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; z-index: 5000;}` }; function injectStyles() { let styleTag = document.createElement('style'); if (document.location.host.includes('pornhub')) styleTag.innerHTML = vpmStyles.pornhub; else if (document.location.host.includes('xhamster')) styleTag.innerHTML = vpmStyles.xhamster; else if (document.location.host.includes('eporner')) styleTag.innerHTML = vpmStyles.eporner; else if (document.location.host.includes('spankbang')) styleTag.innerHTML = vpmStyles.spankbang; else if (document.location.host.includes('hypnotube')) styleTag.innerHTML = vpmStyles.hypnotube; else if (document.location.host.includes('pmvhaven')) styleTag.innerHTML = vpmStyles.pmvhaven; document.head.appendChild(styleTag); }