Added browser detection/blocking

Plus fixing an issue with diagnosis