Last active
February 20, 2020 16:34
-
-
Save slaffko1/b0e0223a57b6cca8f6ad3e20df8220c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(navigator.userAgent.indexOf("Chrome-Lighthouse") == -1) { | |
} | |
//GTmetrix and Pingdom | |
if(navigator.userAgent.match(/nux.*oto\sG|x11.*fox\/54|x11.*ome\/39|x11.*ome\/62|oid\s6.*1.*xus\s5.*MRA58N.*ome|JWR66Y.*ome\/62|woobot|speed|ighth|tmetr|eadle/i)){ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment