There's a Firefox extension called Redirect Remover that prevents unwanted redirects. It would be nice if Photofile had this ability.
I’ll look into it, but no promises.
If implementing redirect removal is too difficult, perhaps you could add a settings page for adding “blacklist” urls that Photofile could refuse to navigate to or back out of.
Christopher Stone commented
I should have mentioned that this came up, because I hit a link that unexpectedly opened ~ 10 tabs in Photofile. If I'd been thinking I'd have saved the link, but I don't think I can get back there now.