Skip to content

fix #228496 www.hepsiburada.com ad product cards#229131

Open
mu-hun wants to merge 8 commits intomasterfrom
fix-#228496-www.hepsiburada.com
Open

fix #228496 www.hepsiburada.com ad product cards#229131
mu-hun wants to merge 8 commits intomasterfrom
fix-#228496-www.hepsiburada.com

Conversation

@mu-hun
Copy link
Copy Markdown
Member

@mu-hun mu-hun commented Apr 14, 2026

Prerequisites

To avoid invalid pull requests, please check and confirm following terms

  • This is not an ad/bug report;
  • My code follows the guidelines and syntax of this project;
  • I have performed a self-review of my own changes;
  • My changes do not break web sites, apps and files structure.

What problem does the pull request fix?

If the problem does not fall under any category that is listed here, please write a comment below in corresponding section

  • Missed ads or ad leftovers;
  • Website or app doesn't work properly;
  • AdGuard gets detected on a website;
  • Missed analytics or tracker;
  • Social media buttons — share, like, tweet, etc;
  • Annoyances — pop-ups, cookie warnings, etc;
  • Filters maintenance.

What issue is being fixed?

fix #228496 www.hepsiburada.com ad product cards

Please check the #228496 (comment) comment first.

The existing rule for the ^=sf-smart-banner class name wasn't applied on Android.

I discovered that the same rule was duplicated 3 times.
AnnoyancesFilter/MobileApp/sections/mobile-app_specific.txt#L338, L4483, L4615

This is because the mobile version uses an optimized ruleset that includes only active filters and removes the rest.

So, I merged into one with the !+ NOT_OPTIMIZED flag.

Terms

  • By submitting this issue, I agree that pull request does not contain private info and all conditions are met

mu-hun added 3 commits April 14, 2026 19:29
The existing rule for the `^=sf-smart-banner` class name wasn't applied.
The optimized ruleset removes this rule, so I merged it into one with the `!+ NOT_OPTIMIZED` flag.

leaved a related comment: #228496 (comment)
@mu-hun mu-hun requested a review from a team April 14, 2026 10:41
@mu-hun mu-hun self-assigned this Apr 14, 2026
Comment thread TurkishFilter/sections/specific.txt Outdated
Comment on lines +660 to +672
checkout.hepsiburada.com##div[class^="basket_container_"] div[class^="carousel_container_"]
checkout.hepsiburada.com##div[class^="basket_container_"] div[class^="reco_"]
hepsiburada.com##.Advertisement
hepsiburada.com##.hepsiads-voltran-body
hepsiburada.com##.slick-slide:has(> div:only-child > div[class] > a[href^="https://adservice"])
hepsiburada.com###DESKTOP_MASTHEAD-googleAdvertisement
hepsiburada.com###hyd-adx
hepsiburada.com##div[class^="sf-Recommendation-"] > div[class^="sf-Recommendation-"]:has(> div[class^="sf-reco-"] > a[href^="https://adservice.hepsiburada.com/"])
hepsiburada.com##div[data-test-id="sponsored-products"]
hepsiburada.com##div[data-test-id="sponsored-products"]
hepsiburada.com##div[id^="Advertisement_"]
hepsiburada.com##iframe[src=""]
hepsiburada.com##li:has(article[class^="productCard-module_article"] > div[class^="productCard-module_productCardRoot"] > a[href^="https://adservice.hepsiburada.com/"])
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I see, some of these rules are not applied. Please check if they are obsolete, so you can remove them.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are also duplicates.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I will check the valid rules and move the duplicate items to the !+ NOT_OPTIMIZED flag.

Because the duplicate rules show they aren't applied like the ^=sf-smart-banner rule.

Copy link
Copy Markdown
Member

@zloyden zloyden Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case of optimization you only need to add the mentioned hint.
Btw, please also check where are the rules applied. For instance, I see this div[data-test-id="sponsored-products"] element only on smartphone. You can move it to AdGuard Mobile Ads filter.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this div[data-test-id="sponsored-products"] element only on smartphone. You can move it to AdGuard Mobile Ads filter.

Okay, I will keep it in mind.

mu-hun added 4 commits April 20, 2026 19:08
The duplicate rule doesn't seem to be applied like the `^=sf-smart-banner` rule during filters optimization.
This rule part `div[class^="sf-Recommendation-"] > div[class^="sf-Recommendation-"]:has(> div[class^="sf-reco-"])` specifically targets only the section heading.
@mu-hun mu-hun force-pushed the fix-#228496-www.hepsiburada.com branch from 1260404 to 592a473 Compare April 20, 2026 10:09
@mu-hun mu-hun requested a review from zloyden April 20, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

www.hepsiburada.com

2 participants