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
Ginjupalli AviGinjupalli Avi 

'X-Frame-Options' to 'sameorigin'

Hi,

I am unable to load the script in visualforce page. Getting below error on console, can anyone please help me out from this..

Error screen print
Thank you.
 
SwethaSwetha (Salesforce Developers) 
HI Avi,
Communities have their own Clickjack protection settings that may need to be adjusted to allow the use of iFrames in the Visualforce pages.

You need to adjust the Clickjack protection level following the steps mentioned in https://help.salesforce.com/articleView?id=000319416&language=en_US&type=1&mode=1

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you