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:


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: does not permit cross-origin framing. error .

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

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

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.