Hi all! I'm attempting to retrieve HTTP GET variables passed to the URL of a widget (app-sandbox.jivesoftware.com/apps/myapp?var1=blah&var2=blah, for example) and noticed that the window.location.href variable was not what I expected. It looks like widgets reference something internal to the framework as their "window," and can't access the direct URL of the page they are on.
My question is, how can I go about grabbing these variables? Or, if this is impossible, what options do I have for launching my app with parameters?