The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

[help] * why ????

Forums » 中文论坛 » 主版

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

25. November 2011, 10:28:29

fuckGFW

Posts: 30

[help] * why ????

<html>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>S:opera - 百google度</TITLE>
</HEAD>
<FRAMESET cols="*,*">
<FRAME name="g" src="http://74.125.224.81/search?hl=en&amp;ie=utf-8&amp;newwindow=1&amp;safe=off&amp;gbv=2&amp;q=opera">
<FRAME name="b" src="http://74.125.224.81/search?hl=en&amp;ie=utf-8&amp;newwindow=1&amp;safe=off&amp;gbv=2&amp;q=opera">
</FRAMESET>
</html>


opera-9.64中正常载入框架内容;
opera-11.00中控制台无错误提示,只显示
错误 http://74.125.224.81/search?hl=en&ie=utf-8&newwindow=1&safe=off&gbv=2&q=opera
访问的网页无法在框架中显示,您必须在新窗口中打开此网页。

换了firefox-8.0.1终于发现一个错误提示:
安全错误:位于 http://74.125.224.81/search?hl=en&ie=utf-8&newwindow=1&safe=off&gbv=2&q=opera 的内容不可以载入来自 file:///B:/ssg.htm 的数据。


但是我觉得 opera-11.00 里不能在框架中显示代码的原因跟ff不同...因为只有google不能在左边框架里显示...右边的框架却显示baidu页面...我觉得可能是google的页面代码影响的...可是到底是哪部分页面代码呢...我屏蔽了所有js(包括页面内js代码)...但是无效...就这个诡异的问题...希望有人给个提示...

显示结果:
Opera-9.64:
http://www.ouliu.net/g/188dc07caa9a02b5eab11505e21083a0.jpg
Opera-11.00:
http://www.ouliu.net/g/43a038e5be48bd036b89f4ae7e41cb96.jpg

25. November 2011, 10:32:20

fuckGFW

Posts: 30

sorry....代码有误...要这样才能产生对比效果:
<html>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>S:opera - 百google度</TITLE>
</HEAD>
<FRAMESET cols="*,*">
<FRAME name="g" src="http://74.125.224.81/search?hl=en&amp;ie=utf-8&amp;newwindow=1&amp;safe=off&amp;gbv=2&amp;q=opera">
<FRAME name="b" src="http://202.108.22.5/s?ie=utf-8&amp;wd=opera">
</FRAMESET>
</html>


另: 我把http://74.125.224.81/search?页面代码改成上面的代码后在opera-11.00里是可以正常显示的...所以..貌似又和安全问题有一定关系...纠结啊...= =!!

28. November 2011, 13:16:35

fuckGFW

Posts: 30

感谢云海...哦了...

action:
{ +server-header-filter{del-XFrameOpt} \
}
/


user.filter:
SERVER-HEADER-FILTER: del-XFrameOpt delete "X-Frame-Options:SameOrigin" from header.
s@X-Frame-Options.*SameOrigin@ @sigU

29. November 2011, 13:08:11

fuckGFW

Posts: 30

直接改opera.dll也可以...SameOrigin改成SomeOrigin之类的...
ff自实现起来费事多了...正在研究中...

30. November 2011, 04:21:45

fuckGFW

Posts: 30

ff只能改xul.dll...小写的sameorigin...
扩展全是处理client-post头的...没有处理server端返回头的...

Forums » 中文论坛 » 主版