All replies

You could look for links that end in .xls or whatever file types you care about. Then register
onClick handlers for those links. It really depends on how your site is setup and what you reasonably expect your users to be doing.