2

I tried to create a test single column full page web-tab but all it shows is a blank page. I went to create>tabs>web tabs. Am I missing something? Following is the link I tested for the web-tab...

Mozilla: About Us

Any help will be appreciated.

Thanks

1

2 Answers 2

2

This is because the Mozilla server has set a header to indicate that it does not allow the content to be embedded in an iframe - this is typically used to avoid clickjack attacks. If you use something like the Chrome Inspector, you will see the error:

enter image description here

There's more detail on the X-Frame-Options header at:

https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options

2
  • Thanks @bob-buzzard. Is there any work around for such contents to be displayed on visualforce?
    – MnZ
    Commented Mar 13, 2014 at 8:59
  • I'm afraid not - the browser will respect the wishes of the server and refuse to display the content. The best I've been able to do is open a popup window through javascript to display the content. Commented Mar 13, 2014 at 9:01
2

There is nothing wrong about your tab, here if you check error in browser it is like:

Refused to display 'https://www.mozilla.org/en-US/about/' in a frame because it set 'X-Frame-Options' to 'DENY'. You can find what exactly this error says @here

You can try with replace url : https://developer.salesforce.com/forums?id=906F00000008jqBIAQ It is working!

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .