New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

V1.0.182::Google Failed::www.google.com/search?q=%GDWORD%

Report bugs here

V1.0.182::Google Failed::www.google.com/search?q=%GDWORD%

Postby viarm » Sun Oct 23, 2011 5:42 am

Code: Select all
 <website enabled="1" url="http://www.bing.com/images/search?q=%GDWORD%" id="8d11e55d507de4060a7c7d8bb62aad60" name="Bing Image"/>
 <website enabled="1" url="http://www.google.com/images?q=%GDWORD%" id="3784d95fab243df9d1a2b91056a66e6b" name="Google Image"/>
 <website enabled="1" url="http://en.wikipedia.org/wiki/%GDWORD%" id="375a97a7cab58e5f901cf69f4ce487ee" name="WikiEN"/>
 <website enabled="1" url="http://www.google.com/search?tbm=isch&amp;q=%GDWORD%" id="d7f473c11addf46f4e631148b6406bf4" name="Google IMG"/>
 <website enabled="1" url="http://www.google.com/search?q=%GDWORD%" id="ea84ab265e0df77a3e71fa951cfa2be8" name="Google"/>
 <website enabled="1" url="http://au.images.search.yahoo.com/search/images?p=%GDWORD%" id="2fa7196b03c172650db32b9072752574" name="yahoo IMG"/>


As above, i tested some websites via %GDWORD%. The corresponding URLs run perfectly in Firefox/Chrome, and WordWeb Pro.

All of "Google, Google IMG, Google Image" could not work.

"WikiEN, yahoo IMG, Bing Image" are fine.

GoldenDict forbids Google? or on the contrary GoldenDict was forbidden from having access to Google?

    GoldenDict Version:
    1. GoldenDict 1.0.1-145-gc5693df
    2. GoldenDict-1.0.1-182-g1d399aa-full(QT_4_7_4)(Abs62)

    OS Version: Vista Home Basic SP2

    firewall: N/A

Image-Search1.png

Image-Search2.png
Last edited by viarm on Mon Aug 12, 2013 12:33 am, edited 2 times in total.
viarm
 
Posts: 19
Joined: Tue Oct 18, 2011 11:13 am

Re: V1.0.182::Google Failed::www.google.com/search?q=%GDWORD

Postby viarm » Fri Nov 04, 2011 6:48 pm

V1.0.182, the same as V1.0.145. :(
viarm
 
Posts: 19
Joined: Tue Oct 18, 2011 11:13 am

Re: V1.0.182::Google Failed::www.google.com/search?q=%GDWORD

Postby chulai » Sat Nov 05, 2011 2:50 am

Google has started to forbid the loading of their web search inside frames.
Try for yourself. Save the following snipet of code in Notepad to a file named "hello.html":

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title>hello</title>
   </head>
   <body>
      <iframe src="http://www.google.com/search?q=hello"></iframe>
   </body>
</html>


Open hello.html in any recent browser and you would see an error like:

"The website does not permit its content to be displayed in a frame. It must be displayed in a separate window."

Or:
"To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."

I think is about time to implement some kind of proxy in GoldenDict that gets the web content from the URL and then we can manipulate this content to change the layout, remove/modify portions of html code and avoid using iframes altogether. This way we also prevent the framebuster techniques in the web dictionaries. I guess we have to use QNetworkAccessManager, QNetworkReply and similar classes.
chulai
 
Posts: 464
Joined: Sat Jan 08, 2011 10:11 pm

Re: V1.0.182::Google Failed::www.google.com/search?q=%GDWORD

Postby viarm » Sat Nov 05, 2011 4:06 am

thank you very much. i got a little. :roll:

WordWeb Pro uses embedded IE browser programming directly.
viarm
 
Posts: 19
Joined: Tue Oct 18, 2011 11:13 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 14 guests