Created
July 12, 2018 10:15
-
-
Save athlonUA/04e686ac717f4134d0fd6c91123af10a to your computer and use it in GitHub Desktop.
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 characters
(() => { | |
var windowWidth = window.innerWidth; | |
var windowHeight = window.innerHeight; | |
var userAgent = navigator.userAgent; | |
var location = window.location.href; | |
var info = `Window: ${windowWidth}x${windowHeight} | |
User Agent: ${userAgent} | |
Location: ${location}`; | |
return info; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment