Created
October 29, 2024 10:40
-
-
Save Eneroth3/0bf5e0281b075260f19fab459776bab4 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
function sketchup_version() { | |
const regex = /SketchUp Pro\/(\d+(?:\.\d+)+)/; | |
const matches = navigator.userAgent.match(regex); | |
return matches[1]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment