fixes #52259 - improved browser detections & tests:
- added at least one test for every browser
- fixed several browser detections (incorrect order of detections)
- removed useless detetion of lightning