Etsy - Remove Ads

removes annoying and inconspicuous search ads from Etsy

  1. // ==UserScript==
  2. // @name Etsy - Remove Ads
  3. // @namespace https://openuserjs.org/users/zachhardesty7
  4. // @author Zach Hardesty <zachhardesty7@users.noreply.github.com> (https://github.com/zachhardesty7)
  5. // @description removes annoying and inconspicuous search ads from Etsy
  6. // @copyright 2019-2021, Zach Hardesty (https://zachhardesty.com/)
  7. // @license GPL-3.0-only; http://www.gnu.org/licenses/gpl-3.0.txt
  8. // @version 1.1.3
  9.  
  10. // @homepageURL https://github.com/zachhardesty7/tamper-monkey-scripts-collection/raw/master/etsy-remove-ads.user.js
  11. // @homepageURL https://openuserjs.org/scripts/zachhardesty7/Etsy_-_Remove_Ads
  12. // @supportURL https://github.com/zachhardesty7/tamper-monkey-scripts-collection/issues
  13.  
  14.  
  15. // @include https://www.etsy.com/search*
  16. // @include https://www.etsy.com/market/*
  17. // @require https://greasyfork.org/scripts/419640-onelementready/code/onElementReady.js?version=887637
  18. // ==/UserScript==
  19. /* global onElementReady */
  20.  
  21. onElementReady(".ad-indicator", { findOnce: false }, (el) => {
  22. el.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.remove()
  23. })