您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
默认隐藏mediainfo
// ==UserScript== // @name 鲨鱼默认隐藏mediainfo // @namespace https://sharkpt.net // @icon https://sharkpt.net/favicon.ico // @version 1.0 // @description 默认隐藏mediainfo // @match https://sharkpt.net/details.php?* // @require https://cdn.staticfile.org/jquery/3.6.4/jquery.min.js // @author freefrank // @license MIT // ==/UserScript== (function () { 'use strict'; $(document).ready(function () { // Find the target element const targetElement = $('td.rowfollow[valign="top"][align="left"] > div.nexus-media-info-raw'); // Create and add the show/hide button const button = $('<button>').text('Show').css('margin-bottom', '5px'); targetElement.before(button); // Hide the target element by default targetElement.hide(); // Toggle the visibility of the target element when the button is clicked button.on('click', function () { targetElement.toggle(); if (button.text() === 'Show') { button.text('Hide'); } else { button.text('Show'); } }); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址