A couple of lines of code that runs in any modern web browser by default may crash Apple's Safari web browser, iPhones and affects select browsers as well.
The code uses the backdrop-filter property and a lot of Div elements (more than 3000) to crash Apple iPhones immediately and freeze certain browsers even on non-iOS systems.
The code was published on GitHub today in readable format and as executable code. I won't link to the demonstration page but you can access the linked resource above and click on the link there to test your browser.
According to the developer, the code will restart iOS 9 and higher devices when webpages that contain it are loaded on the device. Some browsers may freeze or crash as well but I could not verify that.
Safari on Mac OS X devices is affected as well and loading the demo webpage in Safari may require a forced restart and may be the beginning of a vicious cycle as the operating system may open Safari automatically and with it the webpage with the code which in turn may require another restart.
Internet Explorer and Microsoft Edge display notifications that they could not load the webpage while Opera, Google Chrome and Firefox load the webpage just fine.
Reports suggest that some versions of Internet Explorer and Microsoft Edge may be affected as well. Günter Born confirmed that the page crashed Internet Explorer 11 on a Windows 7 system. Neowin suggests that Microsoft Edge, Internet Explorer or Safari may freeze when webpages are loaded.
Other browsers on iOS may certainly affected by this as well as as they are forced to use the same rendering engine.
The developer promises code to crash or freeze Firefox in the coming week. Obviously, there is always the chance that browsers crash when certain code is loaded on webpages. While this should not happen, no browser seems to be exempt from that.
It is up to the browser's developers to fix the issue. While it does lead to freezes or crashes only, it may lead to data loss due to that.
Now You: Is your browser affected by the issue?Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.