Greasy Fork is available in English.

Amazon Sponsored Products remover

Removes the terrible sponsored products from Amazon.

< Amazon Sponsored Products remover 피드백

질문/댓글

§
작성: 2019-11-22

Tweaks

  1. Include Amazon Smile:

    // @include     http*://smile.amazon.com/*
    
  2. I rewrote without deprecated DOM Mutation Events and without jQuery:

    new MutationObserver(function(mutationList, observer) {
        document.querySelectorAll('[data-component-type="sp-sponsored-result"]').forEach(function(element) {
            var parent = element.closest('[data-asin]');
            if (parent) parent.remove();
        });
    }).observe(document.body, {childList: true, subtree: true});
    
RobotOilInc개발자
§
작성: 2020-04-19

Sorry for the late reply, I never received an email about this. I've added Smile and updated the script. Thank you very much for your contribution!

댓글 남기기

댓글을 남기려면 로그인하세요.