最近用webview写了一个简单的浏览器应用,重写了shouldOverrideUrlLoading,一般网页里面的链接是可以在自己的浏览器里面打开的,但是在浏览一些有悬浮广告出现的网页时候,比如“搜狐社区”,点击这些悬浮框里面的URL链接,却不能像正常网页那样,在自己的浏览器里面显示,对应悬浮框里面的URL显示的网页只是悬浮框大小,在悬浮框里面显示,不知道还需要做哪些出来,才能全屏显示?望各路高手指点。
     点击悬浮框里面的URL,logcat打印信息有:
     09-20 07:44:16.729: ERROR/Web Console(15734): Uncaught TypeError: Cannot set property 'innerHTML' of    null at http://club.yule.sohu.com/r-bagua-6917951-0-10-900.html:1514
09-20 07:44:17.078: INFO/dalvikvm(15734): CM_purgeDone old=0x7d7cf000 (methods 3, size 32768, free space 31234) new=0x7d7d7000
09-20 07:44:17.078: INFO/dalvikvm(15734): CM_deleteBuffer 0x7d7d7000 numMethods 56
09-20 07:44:17.137: DEBUG/dalvikvm(15734): GC_FOR_MALLOC freed 3889 objects / 520408 bytes in 60ms
09-20 07:44:20.675: ERROR/Web Console(15734): Uncaught ReferenceError: sogou_param is not defined at http://images.sohu.com/cs/jsfile/js/ct.js:80
09-20 07:44:20.677: ERROR/Web Console(15734): Unsafe JavaScript attempt to access frame with URL http://club.sohu.com/ from frame with URL http://club.yule.sohu.com/r-bagua-6917951-0-10-900.html. Domains, protocols and ports must match.
09-20 07:44:20.677: ERROR/Web Console(15734):  at :1
09-20 07:44:20.677: ERROR/Web Console(15734): Unsafe JavaScript attempt to access frame with URL http://club.sohu.com/ from frame with URL http://club.yule.sohu.com/r-bagua-6917951-0-10-900.html. Domains, protocols and ports must match.
09-20 07:44:20.677: ERROR/Web Console(15734):  at :1