I'm looking to see if there is a way to grab the current URL and title of the page that the add-in part is residing on. The add-in part is a Provider Hosted add-in with the main piece living outside of SharePoint. I am using JSOM at the moment to grab the Client Context and Web Context.
I understand that the cross domain scripting is preventing me from using traditional window.top.location.href
.
Does anyone know of any tips or tricks that I may be missing to grab information that would otherwise be relatively easy to grab.
SharePoint is essentially using Cross-Domain scripting and a proxy page to share information between SharePoint and Azure. I need to grab the parent window of the iFrame of the proxy page.