您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide Premium Videos on cda.pl and Sort
// ==UserScript== // @name Ukryj filmy premium na cda.pl i sortuj widoczne wyniki // @namespace http://tampermonkey.net/ // @version 0.2 // @description Hide Premium Videos on cda.pl and Sort // @author You // @license MIT // @match https://www.cda.pl/* // @icon https://www.google.com/s2/favicons?sz=64&domain=cda.pl // @grant none // ==/UserScript== (function() { 'use strict'; // Ukryj filmy premium document.querySelectorAll('div.video-clip-wrapper:has(span.flag-video-premium)').forEach(function(element) { element.style.display = 'none'; }); // Sortuj widoczne wyniki var resultsContainer = document.querySelector('div.video-clip-results'); // Dostosuj selektor do struktury strony var visibleResults = Array.from(resultsContainer.querySelectorAll('div.video-clip-wrapper')).filter(function(element) { return element.style.display !== 'none'; }); visibleResults.sort(function(a, b) { // Dostosuj logikę sortowania do swoich preferencji var titleA = a.querySelector('a.link-title-visit').textContent; var titleB = b.querySelector('a.link-title-visit').textContent; return titleA.localeCompare(titleB); }); visibleResults.forEach(function(element) { resultsContainer.appendChild(element); }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址