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
The Stock Market is One Giant Bubble. (Howard Marks Explains)
People are now convinced AI will change the world; I imagine it will. Every bubble uses widespread conviction. Everybody believes they bid the beneficiaries of a up to the Moon. It turns out it’s overdone. There’s Howard Marks, the founder of Oak Tree Cap…
Homeroom with Sal & Magnus Carlsen - Friday, March 12
Hi everyone! Welcome to homeroom with Sal. We have a very exciting conversation, and I also have two temporary co-hosts today because our guest is a bit of a hero for them. We have a bit of a chess household, so we’re going to have a hopefully very engagi…
Acid–base indicators | Acids and bases | AP Chemistry | Khan Academy
Acid-base indicators are used in titrations to determine when the equivalence point is reached. Let’s look at a hypothetical indicator. In the protonated form, the indicator has the formula H-I-N. So this would be the acidic proton on this protonated form…
Conditions for MVT: table | Existence theorems | AP Calculus AB | Khan Academy
So we’ve been given the value of h of x at a few values of x, and then we’re told James said that since h of 7 minus h of 3 over 7 minus 3 is equal to 1. So this is really the average rate of change between x is equal to 3 and x is equal to 7, between th…
Kevin O'Leary Talks Hockey
Well, I want to get your thoughts on this breaking news: Brian Burke is no longer the president and general manager of the Toronto Maple Leafs. For full disclosure, I know the man; I respect him a lot. I like his discipline, his focus, and that’s probably…
Supersized Slow-Mo Slinky Drop
[Applause] You know what’s been popular, Rod? What’s that? Our Slinky Drop video! That is popular, isn’t it? Yeah. Do you want to do another Slinky drop? That’s not a slinky. This is a slinky. That is an excellent slinky. We should drop that one…