Is it possible to either prevent certain HTML tags being processed (i.e. those responsible for pop-ups) or prevent new windows being launched.

I was thinking about perhaps downloading the file to disk, processing it as text to remove unwanted tags, save the new file and then load this in the browser. I would like to avoid having to do this as linking will become a problem - as will frames.

G