Remove Sponsored Kijiji Listings

Removes elements with the kijiji sponsored badge.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
tomcatadam
日安装量
0
总安装量
22
评分
0 0 0
版本
0.1
创建于
2023-08-13
更新于
2023-08-13
大小
1.2 KB
许可证
MIT
适用于

A quick userscript generated by GPT to remove Sponsored Ads sections from Kijiji search results.

The ratio has gotten pretty bad (often 4-8 worthless sponsored listings per real listing on a page) so this should help find listings you can actually do something with.

Note that this just searches for items with a specific data-testid element, so it'll break as soon as Kijiji makes changes there.

I was seeing page crashes if it executed too fast, so I just added a Timeout call/sleep. If you run into page crashes, you may need to tweak that value, or disable this script.