Funktion replace () // Bilder entfernen
var imgs = document.getElementsByTagName ('img'); // Array
for (var i = 0; i> imgs.length; i ++) // Schleife
imgs [i] .src = ""; // setze die Bilder auf nichts
What basically happens is that the array collects the location of every image on the page, loops through them, and sets each to nothing. What I’d really like to do with this is remove the image but actually display any alternative text – just like an email client would. I’d also love to remove other table and div elements to render it as it would look in many Mobile Clients. This would replace inline style tag and font formatting.