I want to access the window.location object

Hello I just want to know how can I access the typical window.location object I appreciate any response about it. Thank you.

You can do this in an htmlComponent. You need to mock up a simple html page and use the onMessage and postMessage capabilities.

Check out this example page that uses the same technique to determine the OS that the browser is running on:

It is best viewed in a desktop browser. The page shows the working example, the page code and the html code needed to do this.