Hi codewarrior415,

Thanks for this hint

_args is a function that is proprietary to Orkut: it doesn't exist on
Ning (I tested)

So, i can test on the existence of function _args to know that  I am
in Orkut or not but how do I do to differentiate among the other
container?

didier

On Nov 15, 7:06 pm, codewarrior415 <[EMAIL PROTECTED]> wrote:
> This came from another post:
>
> _args()["parent"] // will return the domain.
>
> On Nov 14, 8:22 pm, Didier DURAND <[EMAIL PROTECTED]> wrote:
>
> > Hi everybody,
>
> >  I would like my gadget to be able to know on which platform (Orkut,
> > Ning, hi5, etc...) it is running.
>
> > I didn't find any variable / method  in opensocial API to access this
> > info
>
> > I tried some standard js variable window.location but I get weird and
> > complex urls (especially in sandboxes) on which I  have no guarantee
> > of stability for  the future.
>
> > What's the right way to get this info?
>
> > didier
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition (was OpenSocial Developers)" group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to