Pointless features add to browser bloat and insecurity

83 per cent of browser features are used by under one per cent of top websites


It might be time for the warlocks of the Web and brewers of JavaScript to revisit their ever-burgeoning developer wish-lists and sweep away the rubbish.

Researchers from the University of Illinois have looked at how users and Website designers respond to the feature-list, and their study suggests there's a whole lot of kruft that nobody – site owners or end users – are using.

Or, as El Reg would put it: your browsers and Web servers are bloating with features nobody wants, and contribute nothing but extra lines of code.

As they write at Arxiv: “We find, for example, that 50 per cent of the JavaScript provided features in the web browser are never used by the top ten thousand most popular websites,” the paper states.

It'll surprise nobody that at least some of the non-execution of features is down to site ad-blockers and the like, but the end result is: “83 per cent of available features are executed on less than 1 per cent of the most popular 10,000 websites.”

A couple of features that the researchers found provide good examples.

ALS, “ambient light events”, would let browsers respond to the light level the laptop, phone or desktop is exposed to if anybody used it. Since 14 Websites out of the 10,000 in the study used it, and since it's blocked by 100 per cent of blocking browser extensions, why not kill it off?

The Encoding standard would let JavaScript code read and convert between different text encodings if anyone used it, but it's even more unloved than ALS. Nobody bothers blocking Encoding, because only one out of the 10,000 Webmasters was doing anything with it.

Iframes fall into a different category: half of the sites use iframes (because who doesn't love a popup?), but “is prevented from being executed over 77 per cent of the time”.

All of this adds to the Web's security woes as well, as the table below (an extract of a much larger table from the study) shows. The study notes, “unpopular and heavily blocked features have imposed substantial security costs to the browser”.

Standard Name Abbreviation Features Sites Block Rate CVEs in 3 years
HTML: Canvas H-C 54 7061 33.1% 15
Scalable Vector Graphics 1.1 (2nd Edition) SVG 138 1554 86.8% 14
WebGL WEBGL 136 913 60.7% 13
HTML: Web Workers H-WW 2 952 59.9% 11
HTML 5 HTML5 69 7077 26.2% 10
Web Audio API WEBA 52 157 81.1% 10
WebRTC 1 WRTC 28 30 29.2% 8
XMLHttpRequest AJAX 13 7957 13.9% 8
DOM DOM 36 9088 2.0% 4
Indexed Database API IDB 48 302 56.3% 3
Beacon BE 1 2373 83.6% 2
Media Capture and Streams MCS 4 54 49.0% 2
Web Cryptography API WCR 14 7113 67.8% 2
CSSOM View Module CSS-VM 28 4833 19.0% 1
Fetch F 21 77 33.3% 1
Gamepad GP 1 3 0.0% 1
High Resolution Time, Level 2 HRT 1 5769 50.2% 1
HTML: Web Sockets H-WS 2 544 64.6% 1
HTML: Plugins H-P 10 129 29.3% 1
Web Notifications WN 5 16 0.0% 1
Resource Timing RT 3 786 57.5% 1
Vibration API V 1 1 0.0% 1

SVG, for example, has a problem however you look at it: on one hand more than 15 per cent of the sites use it, on the other hand, nearly 87 per cent of blockers block it, but it's had 14 security warnings (CVEs, Common Vulnerabilities and Exposures) in the last three years. ®

Broader topics


Other stories you might like

  • North Korea pulled in $400m in cryptocurrency heists last year – report

    Plus: FIFA 22 players lose their identity and Texas gets phony QR codes

    In brief Thieves operating for the North Korean government made off with almost $400m in digicash last year in a concerted attack to steal and launder as much currency as they could.

    A report from blockchain biz Chainalysis found that attackers were going after investment houses and currency exchanges in a bid to purloin funds and send them back to the Glorious Leader's coffers. They then use mixing software to make masses of micropayments to new wallets, before consolidating them all again into a new account and moving the funds.

    Bitcoin used to be a top target but Ether is now the most stolen currency, say the researchers, accounting for 58 per cent of the funds filched. Bitcoin accounted for just 20 per cent, a fall of more than 50 per cent since 2019 - although part of the reason might be that they are now so valuable people are taking more care with them.

    Continue reading
  • Tesla Full Self-Driving videos prompt California's DMV to rethink policy on accidents

    Plus: AI systems can identify different chess players by their moves and more

    In brief California’s Department of Motor Vehicles said it’s “revisiting” its opinion of whether Tesla’s so-called Full Self-Driving feature needs more oversight after a series of videos demonstrate how the technology can be dangerous.

    “Recent software updates, videos showing dangerous use of that technology, open investigations by the National Highway Traffic Safety Administration, and the opinions of other experts in this space,” have made the DMV think twice about Tesla, according to a letter sent to California’s Senator Lena Gonzalez (D-Long Beach), chair of the Senate’s transportation committee, and first reported by the LA Times.

    Tesla isn’t required to report the number of crashes to California’s DMV unlike other self-driving car companies like Waymo or Cruise because it operates at lower levels of autonomy and requires human supervision. But that may change after videos like drivers having to take over to avoid accidentally swerving into pedestrians crossing the road or failing to detect a truck in the middle of the road continue circulating.

    Continue reading
  • Alien life on Super-Earth can survive longer than us due to long-lasting protection from cosmic rays

    Laser experiments show their magnetic fields shielding their surfaces from radiation last longer

    Life on Super-Earths may have more time to develop and evolve, thanks to their long-lasting magnetic fields protecting them against harmful cosmic rays, according to new research published in Science.

    Space is a hazardous environment. Streams of charged particles traveling at very close to the speed of light, ejected from stars and distant galaxies, bombard planets. The intense radiation can strip atmospheres and cause oceans on planetary surfaces to dry up over time, leaving them arid and incapable of supporting habitable life. Cosmic rays, however, are deflected away from Earth, however, since it’s shielded by its magnetic field.

    Now, a team of researchers led by the Lawrence Livermore National Laboratory (LLNL) believe that Super-Earths - planets that are more massive than Earth but less than Neptune - may have magnetic fields too. Their defensive bubbles, in fact, are estimated to stay intact for longer than the one around Earth, meaning life on their surfaces will have more time to develop and survive.

    Continue reading

Biting the hand that feeds IT © 1998–2022