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!

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址