It was the site itself which did the redirect. Either by a bit of JavaScript (which you can disable/warn) or an HTTP REFRESH which you can't.
There are Content Advisor settings but I tried it and found it restricted some totally innocuous sites and missed some stinky ones. I'm surprised a library doesn't have Net Nanny or some such installed on their machines. Perhaps you might suggest it to them.