[Resolved] joqalbania.com ads

LEO33

New Member
Hello! A newbie here!

The ad code is:
HTML:
<li _ngcontent-ewv-c5="" class="boost-list-item boost-item1"><a _ngcontent-ewv-c5="" target="_blank" href="https://aa.boostapi.net/filter/redirect?redirect=https%3A%2F%2Fblog.boost.al%2Fpse-marketingu-i-kontentit%2F%3Futm_source%3Dboost%26utm_medium%3Dnative%26utm_campaign%3D3%2520arsye%2520bind%25C3%25ABse%2520p%25C3%25ABrse%2520kompanis%25C3%25AB%2520suaj%2520i%2520duhet%2520marketingu%2520i%2520kontentit&amp;click=https%3A%2F%2Fes.boostapi.net%2Fadvertiser%2Funique%3Fk%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhYWlkIjoiMTU2NDczNzAyNzM2NjAwMyIsImNvbXBhbnlpZCI6IjUiLCJjYW1wYWlnbl9uYW1lIjoiYmxvZyBhcnRpY2VscyBib29zdCIsImNhbXBhaWduaWQiOiIyOTgiLCJhZHNldGlkIjoiMzEwIiwiYWRpZCI6IjY4NCIsImFkdl90eiI6IkV1cm9wZS9UaXJhbmUiLCJwdWJfdHoiOiJFdXJvcGUvVGlyYW5lIiwiYmlkX3R5cGUiOjEsInB1YmlkIjoiMTU2NjQ4NjgwMjMyMzAwNCIsIndpZGdldGlkIjoiMzAiLCJkb21haW4iOiJqb3FhbGJhbmlhLmNvbSIsImNvdW50cnkiOiJBTCIsImRldmljZSI6ImRlc2t0b3AiLCJvcyI6IldpbmRvd3MiLCJicm93c2VyIjoiQ2hyb21lIiwiYnVkZ2V0IjoyMCwicHViX2JzaCI6NTAsInB1Yl9jb21wYW55X3R5cGUiOjEsImdpIjoiZDI0MTQxNzM0ODdhZjcwNWQ4MmU0NzdjOWRlNmM1MGQiLCJjcmVkaXRfdHlwZSI6IjMiLCJldmVudF90eXBlIjoxLCJjb3N0IjozMDAwMDAsImlhdCI6MTU3MzUyMzE5MywiZXhwIjoxNTczNTIzNzkzfQ.dr9QEjQOdZclPeSUEta_lP41PVXZp_sk2lCRJuURUcM%26e%3D1"><span _ngcontent-ewv-c5="" class="boost-item-image-wrapper"><div _ngcontent-ewv-c5="" class="boost-item-image-ratio"></div><!----><img _ngcontent-ewv-c5="" class="boost-item-image loaded" src="https://vca.boostcdn.net/resize?l=https://images.boostcdn.net/1564737027366003/5-1572993288539.jpg&amp;w=500&amp;h=300"></span><span _ngcontent-ewv-c5="" class="boost-item-title"> 3 arsye bindëse përse ju duhet marketingu i kontentit </span><span _ngcontent-ewv-c5="" class="boost-item-source">blog.boost.al</span></a></li>
I tested that hiding class="boost-list-item boost-item1" will do the job, but inside that box, a false-positive ad will be inserted instead in the next page reload.
I noticed that all the ads are identified by this part: _ngcontent-ewv-c5, where ewv is randomly generated. All false positive ads use _ngcontent-???-c4, _ngcontent-???-c6, etc.
So what I need is hiding only _ngcontent-???-c5, without affecting the other boxes (Check the screenshot).
Is this possible?
screenshot.jpg
 

Blaz

Moderator & Translator
Staff member
Moderator
Not seeing boost elements on the site, which article is it specifically?


Seeing it on the site may help to achieve what you are trying to do. So you only want to hide specific boost entries, not all?
 
Last edited:

LEO33

New Member
Boost elemets appear on every article in my case, tried on two different computers.
Using Adguard extension for Chrome, Adguard base filter and AdGuard Annoyances filter enabled, latest updated.

So you only want to hide specific boost entries, not all?
Yes, that's the objective. Because not all are ads. Is it possible?
 
Last edited:

Blaz

Moderator & Translator
Staff member
Moderator
Seeing them with Albanian IP now, though also other elements than -c5 are ads (some ad for random instagram, some video ad for a bank):

Code:
joqalbania.com##.boost-list-container a[href^="https://aa.boostapi.net"]
joqalbania.com#?#.boost-list-container > [style] > li:has(> a[href^="https://aa.boostapi.net"])
First one will hide those ad links, 2nd one cleans the left-over.

Sadly with normal CSS you cannot select that attribute. Requires javascript to get all attributes of it and then check if "c5" is included (javascript is not supported by iOS/Android content blocker.
 

LEO33

New Member
Thank you! Worked great! :)

Looks like these need to be included as well:
Code:
joqalbania.com##app-infinite-pc-video
joqalbania.com###sticky-elements > div.pc_only:nth-child(8)
…which are the video ads, and an image banner on the right.

I hope you add these to the main filters for others to enjoy.
 

Blaz

Moderator & Translator
Staff member
Moderator
Added to Base filter, update in about 3 hours:
Code:
joqalbania.com##.boost-list-container a[href^="https://aa.boostapi.net"]
joqalbania.com#?#.boost-list-container > [style] > [class]:has(> a[href^="https://aa.boostapi.net"])
||joq.al//banners^
Also moved topic.
 
Top