Ohh that's a risky one. If you're on a wbesite and the battery runs out, it will shut down and then whenever you get to switch it back on again, it will come up with the last webpage that you were on.
Luckily that's only ever happened to me whilst on legitimate web pages.