function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tyler Tran 94Tyler Tran 94 

Can't login to iframe URL in Visualforce Page

I want to log in to the URL Iframe in a visualforce page, but it can't be done. When I check in Network tab in Developer console, it looks like Salesforce system tries to block the logging-in process. Here is my Iframe link and javascript tag.
<div style="float: left; width: 100%"> <apex:outputPanel layout="block" style="overflow:hidden"> <apex:iframe height="500px" width="100%" id="loginFrame"/> </apex:outputPanel> </div> <script type="text/javascript"> window.onload = function() { setTimeout(function() { var frame = document.getElementById('loginFrame'); if(frame) { frame.src = "https://dev-mk.eaga.com/prices/app/{!oppId}"; } }, 500); } </script>
What can I do to fix this problem?
PriyaPriya (Salesforce Developers) 
Hey Tyler,

can you kindly elaborate this issue ?

Thanks
Priya Ranjan
cjaio chaskcjaio chask
This is looking very similar problem whcih I faced so I understand it easily you can click here (https://apkmission.com/) and check some informatio to fix this problem.
Tyler Tran 94Tyler Tran 94
Hey guys, it seems like a problem about Salesforce system - they are not allowing the logging-in process. We are working on different solutions.