0
how to detect if our code running in web version of sololearn ?
5 Respuestas
+ 3
Check the host with
window.location.hostname
+ 1
navigator.appVersion
+ 1
Rei ok,now I got it. you want know whether the code is compiled by SL editor. Sorry I don't know😐i thought you want know the version of app.
+ 1
ᴉsɯ@ʌ🙃🙃 dont worry :)
Toni Isotalo aaah that make sense, thank you
0
ᴉsɯ@ʌ🙃🙃 both version return same string