There’s now a mobile device version of NoScript available for, er, mobile devices. If you’re not familiar with NoScript, then take it away Wikipedia:
NoScript is a free and open-source extension for Mozilla Firefox, SeaMonkey, and other Mozilla-based web browsers…NoScript allows executable web content such as JavaScript, Java, Flash, Silverlight, and other plugins only if the site hosting it is considered trusted by its user and has been previously added to a whitelist.
It won’t solve all of your problems, but it’s most definitely better than nothing and a long time favourite of mine.
Christopher Boyd