Infosys interview question

How to determine page type in browser