Google came up with a new feature called Google Web Light. This optimizes websites that are not mobile friendly and are heavy for users with slow connections. Sometimes even YouTube gets optimized. 

They URL is like this "<http://googleweblight.com/?lite_url=> website url".

So, this causes some issues to websites. Mostly JavaScript issues. Take a look at these [jQuery UI elements](http://googleweblight.com/?lite_url=http://jqueryui.com/themeroller/). Nothing seems to work.

Sure there is a link to view the proper website but users won't bother clicking and would leave thinking the website is broken.

How would you go around this. Is there anyway to detect if the users browser is showing the optimized website?

Here is an example of what it looks like:
[![Google web light](https://i.stack.imgur.com/xiaIb.png)](https://i.stack.imgur.com/xiaIb.png)