<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on Google Image Type Recognition (obsolete) | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/9613</link>
    <description>Recent comments on userscript: Google Image Type Recognition (obsolete)</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Archived Comments, replied by aatiis</title>
      <description>&lt;p&gt;Also, as Sanja said, the Bosnian and the Croatian are the same, but NOT the same as Serbian. Google Bosnia is not Cyrillic.&lt;/p&gt;</description>
      <pubDate>Tue, 18 Mar 2008 11:11:22 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33420</guid>
      <author>aatiis</author>
      <link>http://userscripts.org/posts/33420</link>
    </item>
    <item>
      <title>Archived Comments, replied by aatiis</title>
      <description>&lt;p&gt;It seems to me that the Serbian translation is inaccurate (actually it seems to be Croatian).&lt;/p&gt;

&lt;p&gt;&lt;code&gt;case &quot;hr&quot;:  // Croatian
&lt;br /&gt;text = [&quot;Svi tipovi slika&quot;, &quot;Lica&quot;, &quot;Vijesti&quot;];
&lt;br /&gt;case &quot;sr&quot;:  // Serbian; contributed by ferjah, corrected by sanja
&lt;br /&gt;text = [&quot;Svi tipovi slika&quot;, &quot;Lica&quot;, &quot;Vesti&quot;];&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Actually, the Serbian Google displays text in Cyrillic, so it should be:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;text = [&quot;&#1057;&#1074;&#1080; &#1090;&#1080;&#1087;&#1086;&#1074;&#1080; &#1089;&#1083;&#1080;&#1082;&#1072;&quot;, &quot;&#1051;&#1080;&#1094;&#1072;&quot;, &quot;&#1042;&#1077;&#1089;&#1090;&#1080;&quot;];&lt;/code&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 18 Mar 2008 11:04:47 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33421</guid>
      <author>aatiis</author>
      <link>http://userscripts.org/posts/33421</link>
    </item>
    <item>
      <title>Archived Comments, replied by TheGreekSage</title>
      <description>&lt;p&gt;Very Nice script
&lt;br /&gt;although the greek translation is not appropriate.
&lt;br /&gt;The word &quot;Faces&quot; it's translated to something overly cute like &quot;Little Funny Faces&quot; (&#934;&#945;&#964;&#963;&#959;&#973;&#955;&#949;&#962;)&lt;/p&gt;

&lt;p&gt;The translation of the other 2 terms &quot;All Image types&quot; and &quot;News&quot; it's not the best either.&lt;/p&gt;

&lt;p&gt;I tried to change it but I have trouble with the &quot;JavaScript escape&quot; codes...&lt;/p&gt;

&lt;p&gt;You could do a similar script for the main Search page of Google with the &amp;amp;as_qdr= parameter and the Date (Anytime/past 24h) etc. and the Languages.&lt;/p&gt;</description>
      <pubDate>Fri, 14 Mar 2008 00:40:32 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33422</guid>
      <author>TheGreekSage</author>
      <link>http://userscripts.org/posts/33422</link>
    </item>
    <item>
      <title>Archived Comments, replied by SteeLx</title>
      <description>&lt;p&gt;this is really a useful script.. hope they can add more addon that can helps to find &quot;different resolution images search Option&quot;&lt;/p&gt;

&lt;p&gt;:) &lt;/p&gt;

&lt;p&gt;thanks for a gr8 script.&lt;/p&gt;</description>
      <pubDate>Fri, 01 Feb 2008 02:19:31 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33423</guid>
      <author>SteeLx</author>
      <link>http://userscripts.org/posts/33423</link>
    </item>
    <item>
      <title>Archived Comments, replied by alto malt&#233;s</title>
      <description>&lt;p&gt;Wonderful, thanks :)&lt;/p&gt;</description>
      <pubDate>Thu, 03 Jan 2008 15:19:29 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33424</guid>
      <author>alto malt&#233;s</author>
      <link>http://userscripts.org/posts/33424</link>
    </item>
    <item>
      <title>Archived Comments, replied by LouCypher</title>
      <description>&lt;p&gt;Thanks again, Ed.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Jan 2008 15:10:33 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33425</guid>
      <author>LouCypher</author>
      <link>http://userscripts.org/posts/33425</link>
    </item>
    <item>
      <title>Archived Comments, replied by alto malt&#233;s</title>
      <description>&lt;p&gt;You&#8217;re welcome. &lt;code&gt;http://google.*/images?*&lt;/code&gt; is the page it goes to when I search for images from the Google Toolbar.&lt;/p&gt;

&lt;p&gt;Thanks for adding the Maltese translation&#8230; but I think you must have pasted it into a non-Unicode editor, because the &#267; and &#295; are no more. It should be:&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;case &quot;mt&quot;:  // Maltese
  text = [&quot;Kull tip ta&#8217; stampa&quot;, &quot;U\u010bu\u0127&quot;, &quot;A\u0127barijiet&quot;];
  break;&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;Thanks again :)&lt;/p&gt;</description>
      <pubDate>Thu, 03 Jan 2008 13:56:44 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33426</guid>
      <author>alto malt&#233;s</author>
      <link>http://userscripts.org/posts/33426</link>
    </item>
    <item>
      <title>Archived Comments, replied by LouCypher</title>
      <description>&lt;p&gt;Thanks Edward. I didn't know you can search for images from other Google sub-domain. I didn't add &lt;code&gt;http://google.*/images?*&lt;/code&gt; to &lt;code&gt;@include&lt;/code&gt; though, because it will redirect you to &lt;a href=&quot;http://www.google.com/&quot;&gt;www&lt;/a&gt; anyway.&lt;/p&gt;</description>
      <pubDate>Wed, 02 Jan 2008 20:11:44 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33427</guid>
      <author>LouCypher</author>
      <link>http://userscripts.org/posts/33427</link>
    </item>
    <item>
      <title>Archived Comments, replied by alto malt&#233;s</title>
      <description>&lt;p&gt;Great script! Thanks.&lt;/p&gt;

&lt;p&gt;How about adding&#8230;
&lt;br /&gt;&lt;code&gt;// @include http://google.*/images?*
&lt;br /&gt;// @include http://*.google.*/images?*&lt;/code&gt;
&lt;br /&gt;&#8230; to the metadata?&lt;/p&gt;</description>
      <pubDate>Wed, 02 Jan 2008 19:09:22 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33428</guid>
      <author>alto malt&#233;s</author>
      <link>http://userscripts.org/posts/33428</link>
    </item>
    <item>
      <title>Archived Comments, replied by George</title>
      <description>&lt;p&gt;Very cool. I wonder why Google hasn't modified their page themselves.&lt;/p&gt;

&lt;p&gt;Here is a version that also offers the image type choice at the opening page of Google Image Search.&lt;/p&gt;

&lt;p&gt;&lt;pre&gt;
// ==UserScript==
// @name            Google Image Type Recognition
// @namespace       http://loucypher.wordpress.com/
// @include         http://images.google.*/*
// @description     Adds image type selections to Google Image search
// ==/UserScript==

// Last updated: 2007-07-09

(function() {
  var doc = typeof unsafeWindow == &quot;object&quot; ? unsafeWindow.document : document;
  var form = doc.gs;
  if (!form) {
      modifyFrontDoor();
      return;
  }

  var yellowbar = document.evaluate(&quot;//span[contains(@style, &quot; +
                                    &quot;'rgb(255, 255, 153)')]/parent::center&quot;,
                                    document, null, 0, null).iterateNext();
  if (yellowbar) yellowbar.parentNode.removeChild(yellowbar);

  var imgtype;
  if (form.imgtype != undefined) {
    imgtype = form.imgtype.value;
  } else {
    try {
      imgtype = location.href.match(/imgtype\=(\w+)/)[1];
    } catch(ex) {
      imgtype = &quot;&quot;;
    }
    var inp = form.appendChild(document.createElement(&quot;input&quot;));
    inp.type = &quot;hidden&quot;;
    inp.name = &quot;imgtype&quot;;
    inp.value = imgtype;
  }

  var elm = document.getElementsByName(&quot;imagesize&quot;)[0] ||
            document.getElementById(&quot;sd&quot;);
  if (!elm) return;
  var bluebar = elm.parentNode;

  var menu = makeMenu(form.hl.value);
  bluebar.appendChild(menu);
  menu.style.margin = &quot;2px 0pt&quot;;
  menu.addEventListener(&quot;change&quot;, function(e) {
    form.imgtype.value = this.options[this.selectedIndex].value;
    form.submit();
  }, false);

  function makeMenu(language)
  {
      var menu = document.createElement('select');
      menu.name = &quot;imgtype&quot;;

      var text;

      switch (language) {
        case &quot;id&quot;:  // Indonesian
        case &quot;ms&quot;:  // Malay; merge with ID til I get the translations
          text = [&quot;Semua jenis gambar&quot;, &quot;Wajah&quot;, &quot;Berita&quot;];
          break;

        case &quot;jw&quot;:  // Javanese
          text = [&quot;Sedoyo jenis gambar&quot;, &quot;Wajah&quot;, &quot;Kabar&quot;];
          break;

        case &quot;su&quot;:  // Sundanese
          text = [&quot;Sakab\u00e9h jenis gambar&quot;, &quot;Muka&quot;, &quot;Beja&quot;];
          break;

        case &quot;nl&quot;:  // Dutch; contrib. by Deathstar-NL
          text = [&quot;Alle afbeelding types&quot;, &quot;Gezichten&quot;, &quot;Nieuws&quot;];
          break;

        case &quot;fr&quot;:  // French; contrib. by Mortimer
          text = [&quot;Tous les types d\'image&quot;, &quot;Figures&quot;, &quot;Actualit&#239;&#191;&#189;s&quot;];
          break;

        case &quot;de&quot;:  // German
          text = [&quot;alle Bildarten&quot;, &quot;Gesichter&quot;, &quot;Nachrichten&quot;];
          break;

        case &quot;it&quot;:  // Italian
          text = [&quot;Tutti i tipi di immagine&quot;, &quot;Facce&quot;, &quot;Notizie&quot;];
          break;

        case &quot;eu&quot;:  // Basque; -----+
        case &quot;ca&quot;:  // Catalan;     +-- merge with ES til I get the translations
        case &quot;gl&quot;:  // Galician; ---+
        case &quot;es&quot;:  // Spanish
          text = [&quot;Todos los tipos de la imagen&quot;, &quot;Caras&quot;, &quot;Noticias&quot;];
          break;

        case &quot;pt-BR&quot;:  // Portuguese (Brazil); contrib. by Bruno 'ReX' Barbieri
          text = [&quot;Todos tipos de imagem&quot;, &quot;Rostos&quot;, &quot;Not&#239;&#191;&#189;cias&quot;];
          break;

        case &quot;pt-PT&quot;:  // Portuguese (Portugal); contrib. by vOidSenses
          text = [&quot;Todos os tipos da imagem&quot;, &quot;Caras&quot;, &quot;Noticia&quot;];
          break;

        case &quot;xx-elmer&quot;:  // Elmer Fudd; contrib. by himself
          text = [&quot;Aww image types&quot;, &quot;Faces&quot;, &quot;News&quot;];
          break;

        case &quot;xx-piglatin&quot;:  // Pig Latin; contrib. by Arcusmay Ulliustay Icerocay
          text = [&quot;Allay imageway ypestay&quot;, &quot;Acesfay&quot;, &quot;Ewsnay&quot;];
          break;

        case &quot;xx-hacker&quot;:  // Hacker; contrib. by 4(1|)|3|_||2|\|
          text = [&quot;4|| 1/\\/\\463 +yP3z&quot;, &quot;P|-|4(3z&quot;, &quot;|\\|3\\/\\/5&quot;];
          break;

        case &quot;th&quot;:  // Thai; contrib. by tz
          text = [&quot;\u0e17\u0e38\u0e01\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e&quot;,
                  &quot;\u0e43\u0e1a\u0e2b\u0e19\u0e49\u0e32&quot;,
                  &quot;\u0e02\u0e48\u0e32\u0e27&quot;];
          break;

        case &quot;fi&quot;:  // Finnish; contrib. by kenmooda
          text = [&quot;Kaikki kuvatyypit&quot;, &quot;Kasvokuvat&quot;, &quot;Uutiskuvat&quot;];
          break;

        case &quot;af&quot;:  // Afrikaans
        case &quot;sq&quot;:  // Albanian
        case &quot;am&quot;:  // Amharic
        case &quot;ar&quot;:  // Arabic
        case &quot;hy&quot;:  // Armenian
        case &quot;az&quot;:  // Azerbaijani
        case &quot;be&quot;:  // Belarusian
        case &quot;bn&quot;:  // Bengali
        case &quot;bh&quot;:  // Bihari
        case &quot;xx-bork&quot;:  // Bork, bork, bork!
        case &quot;bs&quot;:  // Bosnian
        case &quot;br&quot;:  // Breton
        case &quot;bg&quot;:  // Bulgarian
        case &quot;km&quot;:  // Cambodian
        case &quot;zh-CN&quot;:  // Chinese (Simplified)
        case &quot;zh-TW&quot;:  // Chinese (Traditional)
        case &quot;co&quot;:  // Corsican
        case &quot;hr&quot;:  // Croatian
        case &quot;cs&quot;:  // Czech
        case &quot;da&quot;:  // Danish
        case &quot;eo&quot;:  // Esperanto
        case &quot;et&quot;:  // Estonian
        case &quot;fo&quot;:  // Faroese
        case &quot;tl&quot;:  // Filipino
        case &quot;fy&quot;:  // Frisian
        case &quot;ka&quot;:  // Georgian
        case &quot;el&quot;:  // Greek
        case &quot;gn&quot;:  // Guarani
        case &quot;gu&quot;:  // Gujarati
        case &quot;iw&quot;:  // Hebrew
        case &quot;hi&quot;:  // Hindi
        case &quot;hu&quot;:  // Hungarian
        case &quot;is&quot;:  // Icelandic
        case &quot;ia&quot;:  // Interlingua
        case &quot;ga&quot;:  // Irish
        case &quot;ja&quot;:  // Japanese
        case &quot;kn&quot;:  // Kannada
        case &quot;kk&quot;:  // Kazakh
        case &quot;xx-klingon&quot;:  // Klingon
        case &quot;ko&quot;:  // Korean
        case &quot;ku&quot;:  // Kurdish
        case &quot;ky&quot;:  // Kyrgyz
        case &quot;lo&quot;:  // Laothian
        case &quot;la&quot;:  // Latin
        case &quot;lv&quot;:  // Latvian
        case &quot;ln&quot;:  // Lingala
        case &quot;lt&quot;:  // Lithuanian
        case &quot;mk&quot;:  // Macedonian
        case &quot;ml&quot;:  // Malayalam
        case &quot;mt&quot;:  // Maltese
        case &quot;mr&quot;:  // Marathi
        case &quot;mo&quot;:  // Moldavian
        case &quot;mn&quot;:  // Mongolian
        case &quot;ne&quot;:  // Nepali
        case &quot;no&quot;:  // Norwegian
        case &quot;nn&quot;:  // Norwegian (Nynorsk)
        case &quot;oc&quot;:  // Occitan
        case &quot;or&quot;:  // Oriya
        case &quot;ps&quot;:  // Pashto
        case &quot;fa&quot;:  // Persian
        case &quot;pl&quot;:  // Polish
        case &quot;pa&quot;:  // Punjabi
        case &quot;qu&quot;:  // Quechua
        case &quot;ro&quot;:  // Romanian
        case &quot;rm&quot;:  // Romansh
        case &quot;ru&quot;:  // Russian
        case &quot;gd&quot;:  // Scots Gaelic
        case &quot;sr&quot;:  // Serbian
        case &quot;sh&quot;:  // Serbo-Croatian
        case &quot;st&quot;:  // Sesotho
        case &quot;sn&quot;:  // Shona
        case &quot;sd&quot;:  // Sindhi
        case &quot;si&quot;:  // Sinhalese
        case &quot;sk&quot;:  // Slovak
        case &quot;sl&quot;:  // Slovenian
        case &quot;so&quot;:  // Somali
        case &quot;sw&quot;:  // Swahili
        case &quot;sv&quot;:  // Swedish
        case &quot;tg&quot;:  // Tajik
        case &quot;ta&quot;:  // Tamil
        case &quot;tt&quot;:  // Tatar
        case &quot;te&quot;:  // Telugu
        case &quot;ti&quot;:  // Tigrinya
        case &quot;to&quot;:  // Tonga
        case &quot;tr&quot;:  // Turkish
        case &quot;tk&quot;:  // Turkmen
        case &quot;tw&quot;:  // Twi
        case &quot;ug&quot;:  // Uighur
        case &quot;uk&quot;:  // Ukrainian
        case &quot;ur&quot;:  // Urdu
        case &quot;uz&quot;:  // Uzbek
        case &quot;vi&quot;:  // Vietnamese
        case &quot;cy&quot;:  // Welsh
        case &quot;xh&quot;:  // Xhosa
        case &quot;yi&quot;:  // Yiddish
        case &quot;yo&quot;:  // Yoruba
        case &quot;zu&quot;:  // Zulu
        case &quot;en&quot;:  // English
        default:
          text = [&quot;All image types&quot;, &quot;Faces&quot;, &quot;News&quot;];
      }

      var opt, values = [&quot;&quot;, &quot;face&quot;, &quot;news&quot;];

      for (var i in values) {
        opt = menu.appendChild(document.createElement(&quot;option&quot;));
        opt.appendChild(document.createTextNode(text[i]));
        opt.value = values[i];
        if (values[i] == imgtype) {
          opt.selected = true;
        }
      }
      return menu;
  }

  function modifyFrontDoor()
  {
      var form = doc.f;
      if (!form)
          return;
      var button = form.btnG;
      if (!button)
          return;
      var menu = makeMenu(form.hl.value);
      menu.style.marginRight = '3px';
      button.parentNode.insertBefore(menu, button);
  }

})()
&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 09 Jul 2007 22:37:56 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33429</guid>
      <author>George</author>
      <link>http://userscripts.org/posts/33429</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jesse Andrews</title>
      <description>&lt;p&gt;The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)&lt;/p&gt;</description>
      <pubDate>Wed, 17 Nov 2004 01:05:01 +0000</pubDate>
      <guid isPermaLink="false">userscripts.org:12370:33419</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/posts/33419</link>
    </item>
  </channel>
</rss>
