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
rohitash yadavrohitash yadav 

Load denied by X-Frame-Options: https://eu6.salesforce.com/

Hi,

I am using an <apex:iframe src="/001/e" scrolling="true" id="theIframe"/> tag in my visualforce page but it is showing Load denied by X-Frame-Options: https://eu6.salesforce.com/001/e does not permit cross-origin framing. error .

Can anyone help me to include standard page in visualforce page.

Thanks,
Rohitash
Best Answer chosen by rohitash yadav
bob_buzzardbob_buzzard
You can't so this (as of around 2015 as far as I recall) as per the following knowledge article:

https://help.salesforce.com/articleView?id=IFRAME-or-Web-Tab-Content-Displays-Blank-Page-1327107637323&type=1

This is part of clickjack protection, which yu can view via Setup -> Security Controls -> Setup Session:

User-added image

You can ask Salesforce to disable clickjack protection for non-Setup Salesforce pages, but make sure you understand the ramifications.