Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

goldendict google translate stop work #106

Closed
hepha opened this Issue Jun 10, 2012 · 1 comment

Comments

Projects
None yet
2 participants

hepha commented Jun 10, 2012

hello i and arch linux user
i like goldendict,bug long day stop work for google translate
can you help me?
thanks

gtr can work but this is shell
no hava gui
AUR (en) - gtr
https://aur.archlinux.org/packages.php?ID=55487

Member

chulai commented Jun 10, 2012

This problem has already been reported here: http://goldendict.org/forum/viewtopic.php?f=6&t=1317&p=5898#p5898
Some websites are using framekiller techniques or using the X-Frame-Options HTTP header to prevent their content to be loaded in iframes. See http://en.wikipedia.org/wiki/Clickjacking#X-Frame-Options

You can test this issue yourself by copying the following code in a text editor, saving it as "" and loading it a web browser such as IE 8 or recent versions of Firefox:

<!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>Iframe test for GoldenDict</title>
   </head>
   <body>
        Google search:
      <iframe src="http://www.google.com/search?q=hello"></iframe>
      <br>
        Google translate:
      <iframe src="http://translate.google.com/?hl=es#en|es|hello"></iframe>
      <br>
        WordReference.com:
      <iframe src="http://www.wordreference.com/es/en/translation.asp?spen=ventana"></iframe>

   </body>
</html>

A solution to address this issue is discussed on issue #105. For that reason I'm closing this issue.

@chulai chulai closed this Jun 10, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment