If you know what website you were using, don't go there again, you may get a repeat of the same or at least crash browser hard enough that phone reboot is easiest way to fix it. I've actually blacklisted a few in /etc/hosts so I don't forget my lesson and try the bad site again.