0
how to detect if our code running in web version of sololearn ?
5 Respostas
+ 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