Ebay Sponsored Items

Various discussions related to filter list maintenance

Moderator: njones

Post Reply
LoneStar
Posts: 3
Joined: Thu Oct 10, 2019 12:32 am

Ebay Sponsored Items

Post by LoneStar »

Hello all,

Ebay spams its search results with "Sponsored" items, that may or may not match the search criteria but in any case do not follow the specified sort order. For instance, you may sort on lowest price, but a Sponsored item with the highest price appears at the top or in the middle.

I'm trying to create a filter to eliminate these. Ebay's programmers have gone to a lot of trouble to make them resistant to ad blockers. This is how they code the tag "SPONSORED":

<div class="s-item__title--tagblock">
<span role="text">
<span class="s-xizeogy">P</span>
<span class="s-xizeogy">8</span>
<span class="s-xizeogy">8</span>
<span class="s-u9q4ef">S</span>
<span class="s-u9q4ef">P</span>
<span class="s-u9q4ef">O</span>
<span class="s-u9q4ef">N</span>
<span class="s-u9q4ef">S</span>
<span class="s-u9q4ef">O</span>
<span class="s-xizeogy"></span>
<span class="s-xizeogy">N</span>
<span class="s-xizeogy">A</span>
<span class="s-u9q4ef">R</span>
<span class="s-xizeogy">K</span>
<span class="s-xizeogy">5</span>
<span class="s-u9q4ef">E</span>
<span class="s-u9q4ef">D</span>
<span class="s-xizeogy">K</span>
<span class="s-xizeogy">F</span>
<span class="s-u9q4ef"></span>
<span class="s-u9q4ef"></span>
<span class="s-xizeogy">M</span>
<span class="s-u9q4ef"></span>
<span class="s-u9q4ef"></span>
<span class="s-xizeogy">A</span>
<span class="s-u9q4ef"></span>
<span class="s-xizeogy"></span>
<span class="s-u9q4ef"></span>
</span>
</div>

They define two randomly-named classes, different each time. One is set to not display, and used to insert random letters to defeat logic looking for the exact letters in 'SPONSORED'.

span.s-u9q4ef {
display: inline;
}
span.s-xizeogy {
display: none;
}

To generate an example, go to ebay.com and search for 'OBDLink LX'.

What's needed is to eliminate the container 's-item__wrapper', which holds the complete item listing, where this obfuscated 'SPONSORED' exists within it. I've been unable to write a filter to do this, as I'm a complete novice. Perhaps :-abp-properties could be employed somehow? Any ideas?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Ebay Sponsored Items

Post by mapx »

see on reddit
https://www.reddit.com/r/uBlockOrigin/c ... y/f298py7/

just convert the uBo filter in ABP one
LoneStar
Posts: 3
Joined: Thu Oct 10, 2019 12:32 am

Re: Ebay Sponsored Items

Post by LoneStar »

Thanks! I contacted the author of EasyList, and he's added a suitable variant of this filter to the list.
Post Reply