75
submitted 2 days ago by sabreW4K3@lazysoci.al to c/firefox@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] KairuByte@lemmy.dbzer0.com 2 points 14 hours ago

That simply doesn’t work.

Okay, let’s say that the standard “what is the window size” JavaScript method is intercepted and altered, how do you handle setting an element to a specific percentage width and then determining how wide it is in pixels? Or any of the other ways I can think to accomplish this same thing?

If you intercept all of those, you effectively break any site with relative movement of elements with JavaScript.

And that’s just one example.

this post was submitted on 21 May 2026
75 points (100.0% liked)

Firefox

22762 readers
301 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 6 years ago
MODERATORS