I want to open a link inside InAppBrowser using Google chrome. This is my code: var teste=cordova.InAppBrowser.open('https://free.facebook.com/','_blank','location=yes')
I am getting this error message: chromewebdata/:1 Refused to display 'https://free.facebook.com/' in a frame because it set 'X-Frame-Options' to 'deny'.
you can't show https://free.facebook.com/ inside of chrome using InAppBrowser, because the header x-frame-options: DENY which is sent by facebook.com is denying the browser.
you can see this header and other valuable headers from network tab in the developer tools

you can read more about the header from here mdn : X-Frame-Options
this will work like you expected in android.