yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

A Bug to Crash Safari (and Chrome on iOS)


2m read
·Nov 3, 2024

Hey guys, this is Macad 101, and today I'm going to be showing you a bug in both Safari on Mac and Chrome, and Safari on iOS, which allows me to crash your web browser or a tab in your web browser when you go to my site.

So, I accidentally found this problem while I was working on a legitimate site, the only application of group theory dot com. What happens is when I run a certain CSS animation or try to run it, and I just do it by clicking that button, the tab will actually crash, and it'll show you this crash error message.

So we know something actually did crash, and since Safari uses a separate process for every tab, the entire web browser didn't crash. But let me show you the same exact website on the iOS simulator. On iOS, this is what happens on an iPhone in Safari when you click the button.

So it goes, it presses down, and then Safari crashes. It would close all of your tabs that are open, and you would have to open it up and reload them, and whatever, and it crashes Safari just like that. This time you see Safari didn't even remember I was on the page because it crashed unexpectedly, so it didn't get to save that data.

It also crashes Chrome on iOS, and I assume a lot of the same problems occur internally there that causes them. Now, this is nice. I showed this bug to my friend, and he actually went ahead and he implemented something that does it when you load the web page.

So it doesn't even wait until you click a button like this one, it just straight up crashes your browser tab when you click the link. So here, I'll go, I'll click this link that he made, and it's on Twitter. It loads the tab, and it keeps trying to reload it, and eventually it gives up, shows me an error message, and there we go.

It says a problem repeatedly occurred, and it's the same bug I found that he re-implemented on load, which is really nice. So this is a very good display of an example of how I found a bug, and no one really responded to me finding the bug. I tweeted about it, whatever.

So it's up to you guys to basically get Apple to patch this because, as it is, if you're a Safari user, someone can link you to something on your phone that will just crash your mobile browser.

So anyway, go ahead. I'll have a link to this tweet in the description that my friend made that you can retweet to basically get the word out about this little Safari bug.

Thanks for watching Macad 101. Subscribe and goodbye!

More Articles

View All
How does alcohol cause hangovers? - Judy Grisel
In a 1973 study, 20 volunteers got drunk once a week for 8 consecutive weeks, each time on a different alcoholic beverage, and each time with precisely the same dosage— this was science, after all. The goal of this experiment was to find out which alcohol…
The "God Helmet" Can Give You Near-Death and Out-of-Body Experiences
So when I was 18 years old, I went skydiving for the very first time, and this was in Ohio. And it was a really – this was before they had tandem jumping and somebody on your back guiding you down, and I had to jump with a static line, like a rope attache…
The science of music: Why your brain gets hooked on hit songs | Derek Thompson | Big Think
One of the questions that I set out to answer in the book is, why do we like what we like in music? What makes music catchy? Where do “earworms” come from? And to answer this really complex question I started with the simplest possible question, which is:…
Jillian Michaels: Don't believe the keto diet hype | Big Think
How do we really decipher the thousands of studies that are out there on all of these diets? And the problem is what people will do to try to sell you a false bill of goods is take one study and blow that study out as though it’s the entire picture, when…
The Most Advanced Civilization In The Universe
[Music] Earth and civilization, as we know it, has come a long way in the past 200,000 years and has experienced a multitude of changes. In that time, the human species has only existed for a mere 0.0015 percent of the immense 13.7 billion-year age of the…
The Universe's Biggest Paradoxes
Has anyone ever accused you of acting like you’re the center of the universe? Maybe you were 10 years old, upset that your mom wouldn’t take you to buy candy, or you were so focused on an upcoming project that you totally forgot to wish your coworker cong…