LibreOffice Explains 'Real Costs' of Upgrading to Microsoft's Windows 11, Urges Taking Control with Linux
Read more of this story at Slashdot.
Lewis Hamilton 'devastated' after hitting furry animal with his Ferrari during Canadian Grand Prix
Ioan Gruffudd's ex Alice Evans is 'fuming' after 'gut punch' of his pregnancy announcement with wife Bianca amid homelessness woes
Starmer warns of inflation hit from Iran-Israel war: PM urges G7 to push for 'de-escalation' saying global economic fallout 'can't be underestimated'
Revealed: Chilling joke made by 'selfless' mother, 48, before she plunged 15,000ft to her death during tandem sky dive - as heartbroken family demand 'justice'
Justin Bieber fires off angry F-word warning in first Father's Day post as a parent
Google Cloud caused outage by ignoring its usual code quality protections
Google Cloud has explained the massive outage it created last week and, as has happened many times previously, admitted that it broke itself.…
A12 'blocked' after large rush hour crash - recap
Lower Thames Crossing budget to go up with sudden £590m investment
I tried the non-surgical treatments all celebrities swear by for instant results - and the $7 tool that transformed my face: POLISHED by Elise Wilson
The vet misdiagnosed my dog and made us spend £2,500 on pointless treatments before recommending he was put down - all he needed was rest
Revealed: Meghan Markle's 'kind' show of support for British actress Jameela Jamil during 'very hard' time
Britain set to bask in sizzling heatwave with temperatures set to soar as high as Barbados and Malibu
Minnesota shooting suspect Vance Boelter is arrested after Democrat lawmakers were gunned down
Deadly fungus that 'eats you from the inside out' invades US: 'Hundreds of thousands of lives at risk'
Addison Rae leads woke young stars supporting Anti-ICE protests four years after fangirling over Trump
Kym Marsh, 49, reveals she's going to be a grandmother for the fourth time as 'thrilled' star announces lookalike daughter Emilie Cunliffe is expecting in sweet post
MI6 appoints first female spy chief in its 116-year history - as outgoing boss warns world has 'never been more dangerous'
Brad Pitt reveals bald spot while spending Father's Day 3,000 miles away from estranged kids
CodeSOD: The Firefox Fix
Yitzchak was going through some old web code, and found some still in-use JavaScript to handle compatibility issues with older Firefox versions.
if ($.browser.mozilla && $.browser.version.slice(0, 1) == '1') { … }What a marvel. Using JQuery, they check which browser is reported- I suspect JQuery is grabbing this from the user-agent string- and then its version. And if the version has a 1 in its first digit, we apply a "fix" for "compatibility".
I guess it's a good thing there will never be more than 9 versions of Firefox. I mean, what version are they on now? Surely the version number doesn't start with a "1", nor has it started with a "1" for some time, right?