rishi-tea.com - "CART" button does not work with Strict ETP
Categories
(Web Compatibility :: Privacy: Site Reports, defect, P3)
Tracking
(firefox132 affected)
| Tracking | Status | |
|---|---|---|
| firefox132 | --- | affected |
People
(Reporter: ctanase, Unassigned)
References
(Depends on 1 open bug, )
Details
(Keywords: priv-webcompat, webcompat:site-report, webcompat:tracker-blocking, Whiteboard: [webcompat-source:product])
Attachments
(1 file)
|
823.00 KB,
image/png
|
Details |
Environment:
Operating system: Windows 11/10
Firefox version: Firefox 130.0.1 (release)/132
Preconditions:
- ETP set to STRICT
- Clean profile
Steps to reproduce:
- Navigate to: https://rishi-tea.com/products/jasmine-purple-buds?variant=44621625852154
- Click on the "CART" button located in the header.
Expected Behavior:
The cart opens.
Actual Behavior:
Nothing happens.
Notes:
- Not reproducible with ETP STANDARD/turned OFF (both Normal and Private Browsing)
- Reproducible on the latest Nightly
Created from webcompat-user-report:535413e0-e2ba-49cc-a515-1a1efa6fcf1c
Comment 1•1 year ago
|
||
It's because we block rebuyengine.com as a tracker.
Comment 2•1 year ago
|
||
The site now has a banner up, suggesting to disable ETP or switch browsers. @tim, do you think we can unblock this page? I'm happy to reach out to them afterwards.
If you’re using Firefox with Enhanced Tracking Protection, certain features may be blocked. Please disable strict tracking settings or switch browsers for the best experience.
Comment 3•1 year ago
|
||
There is nothing we can unblock. I tested the site with ETP disabled, and the banner is still displayed. I think the website detects Firefox user agents and shows the banner. The website loads fine even in ETP strict mode if I spoof the user agent to Chrome.
We might be able to deploy a Webcompat intervention to spoof the user agent string for this site.
Tom, is this possible?
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Yeah, their script seems broken in strict ETP mode (I can't click on the cart icon at all), while in standard mode it doesn't appear to have any problems. But their intent is pretty clear:
// Function to detect Firefox browser
function isFirefox() {
return navigator.userAgent.toLowerCase().includes('firefox');
}
// Run only in Firefox
if (isFirefox())
const fireboxPolicySection = document.querySelector('.firebox-policy');
We might as well do a UA override here. I'll see what I can cook up.
Comment 5•1 year ago
|
||
Actually, upon closer investigation I can't make heads or tails of what's going on here. I never get any message about ETP/Firefox from the site, and while I was able to reproduce a problem where clicking the cart button did nothing, I can't reproduce that now. It looks like maybe the site is not actually running the related code now?
Comment 6•7 months ago
|
||
This seems to be fixed with global baseline exception of rebuyengine (see https://etp-exceptions.mozilla.org/). @calin can you please verify whether this is also fixed for you? Thanks!
Updated•7 months ago
|
Description
•