Greasy Fork is available in English.

Amazon Sponsored Products remover

Removes the terrible sponsored products from Amazon.

< Отзив за Amazon Sponsored Products remover

Въпрос/коментар

§
Публикуван на: 22.11.2019

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Автор
§
Публикуван на: 19.04.2020

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!

Публикувайте отговор

Влезте, за да публикувате отговор.