您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script filters highlighted (advertised) offers in mobile.de result pages and sorts them ascending by price.
// ==UserScript== // @name Mobile Result Page Cleanup // @namespace s // @include https://suchen.mobile.de/fahrzeuge/search.html* // @version 1.1 // @grant none // @description This script filters highlighted (advertised) offers in mobile.de result pages and sorts them ascending by price. // ==/UserScript== window.onload = function () { var divs = document.querySelectorAll('div.cBox-body--similarSellerAds, div.cBox-body--topInCategory, div.cBox-body--topResultitem, div.cBox-body--eyeCatcher'); for(var i=0; i<divs.length; i++) { divs[i].style.display = "none"; //divs[i].style.opacity = "0.1"; } var sel = document.getElementById('so-sb'); var needs_reload = sel.options[sel.selectedIndex].text != 'Preis aufsteigend'; // fire form if(needs_reload){ var l = sel.options.length; for (var i = 0; i < l; i++) { if (sel.options[i].text == 'Preis aufsteigend') { sel.options[i].selected = true; sel.onChange(); } } } }