developerforce / open-cti-demo-adapter

Other
90 stars 96 forks source link

'Blocked a frame with origin "https://myDomain.my.salesforce.com" from accessing a cross-origin frame'. #40

Open judeeinjapan opened 3 years ago

judeeinjapan commented 3 years ago

I can not resolve it .

whatever https://myDomain.my.salesforce.com/apex/demoAdapterPage or https://myDomain.lightning.instanceName.force.com/apex/demoAdapterPage

zhangyuezhong commented 2 years ago
<apex:page showChat="false" showHeader="false" applyHtmlTag="false" applyBodyTag="false" sideBar="false">
    <html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" lang="en">
     <apex:includeLightning />
     <apex:slds />
    <body style="overflow:hidden">
      <script src="/support/api/55.0/lightning/opencti_min.js" type="text/javascript"></script>
     <script type="text/javascript">
        <!-- put your code -->
    </script>
    </body>
  </html>
</apex:page>