Skip to main content

HI I would like to read query string value inside my Custom app in Freshsales CRM

 

I would like to read the query string values inside custom app.

async function init() {

 console.log(document.location.href);

}

i am not able to get the query string values inside my custom app.

appreciate your help. 

Thanks,

Pon

 

Also i have tried using below 

 

console.log(window.parent.location.search);

 

i got below error.

VM434 app.js:13 Uncaught (in promise) DOMException: Blocked a frame with origin "https://url" from accessing a cross-origin frame.

 


Reply