Remove Sponsored Kijiji Listings

Removes elements with the kijiji sponsored badge.

Автор
tomcatadam
Установок в день
0
Всего установок
20
Оценки
0 0 0
Версия
0.1
Создан
13.08.2023
Обновлён
13.08.2023
Лицензия
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.