您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Rimuove dall'elenco degli oggetti cercati quelli già venduti, che è inutile mostrare perché ovviamente non possono essere acquistati. Funziona sia con la versione desktop che mobile del sito.
// ==UserScript== // @name Rimuovi elementi venduti da Subito.it // @description Rimuove dall'elenco degli oggetti cercati quelli già venduti, che è inutile mostrare perché ovviamente non possono essere acquistati. Funziona sia con la versione desktop che mobile del sito. // @version 2.0.1 // @grant none // @author StephenP // @namespace StephenP // @license AGPL-3.0 // @match https://www.subito.it/* // @contributionURL https://buymeacoffee.com/stephenp_greasyfork // ==/UserScript== setInterval(checkItems,1000); function checkItems(){ let sold=document.getElementsByClassName("item-sold-badge"); if(sold){ for(let s of sold){ while(!s.className.includes("item-card")){ s=s.parentNode; } s.remove(); } } }