2013-12-17 15 views
5

मैं मोबाइल एप्लिकेशन पर इस एचटीएमएल है:पहुँच से मना कर

<header class="bar-title"> 
     <a class="button-prev" onclick="history.back(-1)"> 
      BACK 
     </a> 
     <h1 class="title">FACEBOOK</h1> 
    </header> 
    <div style="overflow:auto;-webkit-overflow-scrolling:touch; height: 100%; width: 100%; padding-top: 42px;" > 
      <iframe style="height: 100%; width: 100%;" src="https://www.facebook.com/pages/SOMEPAGE" ></iframe> 
    </div> 

लेकिन मैं मिलता है त्रुटि: एक फ्रेम में 'https://www.facebook.com/pages/SOMEPAGE' प्रदर्शित करने के लिए है क्योंकि यह 'एक्स फ़्रेम-विकल्पों को' सेट इनकार कर दिया 'इनकार'

थोड़ा टिप्पणी करने के लिए: मुझे नहीं

उत्तर

1

X-Frame-Options एक प्रतिक्रिया हेडर है फेसबुक पेज के लिए विकल्पों की पहुंच है।

The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a or . Sites can use this to avoid clickjacking attacks, by ensuring that their content is not embedded into other sites.

इसका मतलब है कि फेसबुक ब्लॉक व्यवहार

इस तरह का
संबंधित मुद्दे