Greasy Fork

Etsy - Remove Seller Ads From Search Results 2021

Removes native advertising (Seller Ads) from Etsy search results

目前为 2021-11-23 提交的版本。查看 最新版本

作者
vort3xxx
评分
0 0 0
版本
0.1
创建于
2021-11-23
更新于
2021-11-23
大小
1.6 KB
许可证
GPL-3.0-only
适用于

One day, I started receiving insane search results on Etsy. I would sort by lowest price and start seeing $300 items mixed in with the $1 items. This is unacceptable to me. I see Etsy made some changes that broke everybody else's published ad removal scripts and thought I'd try my hand at it. In essence, it seems they have attempted to obsfucate the text that identifies native advertisements from legitimate search results by interleaving each character with junk spans that contain content that never actually renders to the end user. This script demonstrates how you can disambiguate the junk text from the text that displays to the end user so that you can get back to shopping for the stuff you actually want to buy from Etsy.

It was hacked together in Microsoft Edge v96 for Windows and not tested in any other browsers. The es6 features may be problematic in older browsers.
It is only setup for English, but can be adapted pretty easy by changing the ad string.

I will probably not be actively maintaining this thing, so if it breaks or you want to give it better ergonomics, feel free to adapt the idea in your own script.