Quite simple, do a request to GetUsername, if you get an error state in the callback (Oppose to not logged in or success) the game is not being played on Nonoba or using the Nonoba wrapper.
Additionally this will not make any outbound requests or anything as the system enters the error state much before that.
Nonoba URL specific code
Chris said
a long time ago | Post #2
gws34 said
a long time ago | Post #3Yes that's a nice way to do it, thanks.
Reply to thread
Sign up now to reply to threads
gws34 said
a long time ago | Post #1var allowed_site:String = "nonoba.com";
var domain = this.root.loaderInfo.url.split("/")[2];
if (domain.indexOf(allowed_site) == (domain.length - allowed_site.length)) {
onNonoba= true;
}
The flash files are actually served from "amazonaws.com", so you have to use that in any url checks of this type...