FIrst off, this thread is old.
2nd There is no iPhone virus's, so stop sourcing news articles that thrive off of posting rumors. Enoughs enough.
3rd, the problem with the iPhone based on its behavior with it pressing things on its own is a hardware issue, caused by a piece called the localizer, its built into the display and when it goes bad it can provide false touches. no @ posters saying its someone controlling it with remote access.
False touches CANNOT be fixed by restoring the device, unless you are misinterpretting false touches for extremely laging behind touches which all catch up at once after a few minutes in quick succession, that one, is software.
4th If youre not JB, youre not getting viruses, period.
5th the web page redirects ARE coming from the website youre visiting, yes they are ads, yes they are java based, its not a virus, so stop the antics.
If you contacted the web owners and they said no theyre lying, period. Enough. If you want proof these are coming from a java based ad, then goto settings, safari, advanced, disable java, and go back to your website. Youll no longer get them.
6, last possibility for pop ups is if youre not using a personal router and internet line, so public networks or a hotel, etc, can and will inject urls into youre device, this is also true for pcs, this also is not a virus, they use the same function for when youre required to enter a code or password to join their network but via a website instead of the network itself being pw protected.
6 pages of nonsense is posted here. Stop it. People have already told you its not possible to get them, just because no one explained why whats happening you keep egging it on? Find something else better to do with your time, its now been explained.