Last active
April 8, 2017 07:04
-
-
Save yefremov/bb1fbeefcd24252e1b93f512b5876fed to your computer and use it in GitHub Desktop.
Revisions
-
yefremov renamed this gist
Apr 8, 2017 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,12 @@ function report() { try { return { userAgent: 'navigator' in window && navigator.userAgent, timing: 'performance' in window && performance.timing, navigation: 'performance' in window && performance.navigation, chrome: 'chrome' in window && chrome.loadTimes(), serviceWorker: 'serviceWorker' in navigator, }; } catch (e) {}; } -
yefremov created this gist
Apr 8, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ function timing() { try { return { chrome: 'chrome' in window && chrome.loadTimes(), timing: 'performance' in window && performance.timing, navigation: 'performance' in window && performance.navigation, }; } catch (e) {}; }