version: cef_binary_3.2883.1540.gedbfb20_windows32
os: win7
I register my scheme, there is a iframe with src=''http://tb1.9vcpp.cn/public/login' in my local html
when I try to load it, console will report:
Refused to display 'http://tb1.9vcpp.cn/public/login' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
my code is:
- Code: Select all
CefRegisterSchemeHandlerFactory("http", "happ", new HappSchemeHandlerFactory());
CefAddCrossOriginWhitelistEntry("http://happ", "http", "tb1.9vcpp.cn", true);
but it does not work.
is there any way to work around SAMEORIGIN?