Blocks sponsored product results from showing up in Amazon searches
< 脚本Block Amazon Sponsored Ads的反馈
An edit and some additions
First, good work on the script. However, the match statement should be *://www.amazon.com/s*, not *://www.amazon.com/s/* (there may have been an update to Amazon's URL syntax).
match
*://www.amazon.com/s*
*://www.amazon.com/s/*
Also, I added the following to my removeAds function:
removeAds
document.querySelectorAll('.AdHolder').forEach(function(el) { el.remove(); }) document.querySelector('#rhf').remove()
This should remove all sponsored products in search results as well as all of the "Sponsored products related to your search" sections.
登录(不可用)以发表回复。
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
An edit and some additions
First, good work on the script. However, the
match
statement should be*://www.amazon.com/s*
, not*://www.amazon.com/s/*
(there may have been an update to Amazon's URL syntax).Also, I added the following to my
removeAds
function:This should remove all sponsored products in search results as well as all of the "Sponsored products related to your search" sections.