shamir.com - Missing content from the page
Categories
(Web Compatibility :: Site Reports, defect, P2)
Tracking
(Webcompat Score:2, Webcompat Priority:P2)
People
(Reporter: rbucata, Assigned: twisniewski)
References
()
Details
(4 keywords, Whiteboard: [webcompat-source:web-bugs])
User Story
platform:windows,mac,linux,android impact:site-broken configuration:general affects:all branch:release user-impact-score:200 diagnosis-team:webcompat
Attachments
(2 files)
Environment:
Operating system: Windows 11
Firefox version: Firefox 135.0.1 (64-bit)
Steps to reproduce:
- Navigate to: https://shamir.com/my/lenses_and_more/shamir-autograph-intelligence/
- Observe the section
Expected Behavior:
Sections are populated with text and images
Actual Behavior:
Sections are blank
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
Created from https://github.com/webcompat/web-bugs/issues/148749
Reporter | ||
Comment 1•29 days ago
|
||
![]() |
||
Comment 2•29 days ago
|
||
It works if add-ons Chrome Mask
is enabled.
Updated•28 days ago
|
Updated•28 days ago
|
Assignee | ||
Comment 3•26 days ago
|
||
This page behaves rather oddly. It doesn't show me its content on Chrome either after a page-refresh, until I do some sort of user-interaction (click, scroll, press a key). Until then, the content is hidden with opacity:0
:
<div class="col-lg-6 text-left" data-aos-duration="800" data-delay="100" data-aos="fade-up" data-aos-anchor-placement="top-bottom">
It seems to be shown only after rocket-DOMContentLoaded
is fired, but that event never seems to fire in Firefox for whatever reason:
o.fn.ready = o.fn.init.prototype.ready = function (e) {
return t.domReadyFired ? e.bind(document) (o) : document.addEventListener('rocket-DOMContentLoaded', (() => e.bind(document) (o))),
o([])
},
Playing around a bit, if I have the string Firefox
in the UA string in RDM while Chrome Mask is running, then it breaks again, which lead be to this code in their RocketLazyLoadScripts
stuff:
if (
navigator.userAgent.indexOf('Firefox/') > 0 ||
'' === navigator.vendor ||
this.CSPIssue
)
And indeed, if I make an intervention which changes Firefox
to FireFox
in the UA string, and sets navigator.vendor
to Mozilla
(or any value), it seems to consistently work, so this is likely the code which is causing the issue somehow. But I can't quite grok why, so for now I'll just ship that intervention, and we should probably reach out to them and confirm if this is just a problem with their site specifically, or the Rocket lazy loader itself.
Assignee | ||
Comment 4•22 days ago
|
||
Updated•22 days ago
|
Comment 6•13 days ago
|
||
bugherder |
Assignee | ||
Updated•13 days ago
|
Updated•12 days ago
|
Updated•6 days ago
|
Comment 7•5 days ago
|
||
Removing the needs-diagnosis keyword -- it looks like this is already largely diagnosed as being several forms of UA-sniffing, and we've managed to sitepatch it, and we've got it flagged as needs-contact to see if the site can fix/remove their UA-specific codepaths. I don't think there's further diagnosis that'd make sense to do at this point.
Description
•