You need to sign in to do that
Don't have an account?
Ramu kolli
Block third party urls in visualforce
Hi All,
I would like to block third party URLs such as Google APIs which are loading JS in my visualforce page. I need to allow them if they are whitelisted in CSP/CORS. Thanks in advance.
I would like to block third party URLs such as Google APIs which are loading JS in my visualforce page. I need to allow them if they are whitelisted in CSP/CORS. Thanks in advance.
How are you importing your JS file? Is it via static resource?
Thanks for your reply. I am calling Google api directly from visualforce page using includescript tag.
Thanks
I have come across a similar post which might help:https://salesforce.stackexchange.com/questions/176331/no-access-control-allow-origin-locker-service-ltngrequire