Apparently in Chrome its possible please check the link
https://developer.chrome.com/apps/bluetooth
they say there is a
getAdapterState command that can do that .. but then i have to mention that Chrome is not a standard Browser therefore i would not expect this idea to run on any other browser..
i am sure Java-Applet can make a different story of the what i just said.
Regards.