Ebay Sponsored Items

Various discussions related to filter list maintenance

Moderator: njones

Ebay Sponsored Items

Postby LoneStar » Thu Oct 10, 2019 1:15 am

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?
LoneStar
 
Posts: 2
Joined: Thu Oct 10, 2019 12:32 am

Re: Ebay Sponsored Items

Postby mapx » Fri Oct 11, 2019 9:03 am

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

just convert the uBo filter in ABP one
User avatar
mapx
 
Posts: 21947
Joined: Thu Jan 06, 2011 3:01 pm

Re: Ebay Sponsored Items

Postby LoneStar » Tue Oct 22, 2019 2:12 am

Thanks! I contacted the author of EasyList, and he's added a suitable variant of this filter to the list.
LoneStar
 
Posts: 2
Joined: Thu Oct 10, 2019 12:32 am


Return to Filter List Authors' Corner

Who is online

Users browsing this forum: No registered users and 2 guests

cron