您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove the promoted ads that clutter the search results on Etsy.
当前为
// ==UserScript== // @name Etsy - Remove Promoted Ads // @author RandomUsername404 // @namespace https://greasyfork.org/en/users/105361-randomusername404 // @version 1.0 // @description Remove the promoted ads that clutter the search results on Etsy. // @run-at document-start // @include https://www.etsy.com/*/search?q=* // @include https://www.etsy.com/search?q=* // @grant none // @icon https://www.etsy.com/images/favicon.ico // ==/UserScript== window.onload = function() { var elements = document.querySelectorAll('.ad-iindicator'); Array.prototype.forEach.call(elements, function(el, i) { var item = el.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode; item.parentNode.removeChild(item); }); }