Browse files

maintained about google image search.

  • Loading branch information...
1 parent 171fa3a commit cb8a43fdd3dcc98a28df85b48b7a519301f932f8 @tdtds tdtds committed Jun 12, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 ChangeLog
  2. +1 −1 misc/plugin/ja/disp_referrer.rb
View
3 ChangeLog
@@ -1,3 +1,6 @@
+2012-06-12 TADA Tadashi <t@tdtds.jp>
+ * ja/disp_referer.rb: maintained about google image search.
+
2012-06-09 TADA Tadashi <t@tdtds.jp>
* title_tag.rb: fixed error on empty subtitle.
View
2 misc/plugin/ja/disp_referrer.rb
@@ -450,7 +450,7 @@ def show_unknown_list
[%r{\Ahttp://.*?\bgoogle\.([^/]+)/.*url}i, '".#{$1}のGoogleのURL検索?"', ['as_q', 'q'], DispReferrer2_Google_cache],
[%r{\Ahttp://.*?\bgoogle/search}i, '"たぶんGoogle検索"', ['as_q', 'q'], DispReferrer2_Google_cache],
[%r{\Ahttp://eval.google\.([^/]+)}i, '".#{$1}のGoogle Accounts"', [], nil],
- [%r{\Ahttp://(?:images|www)\.google\.([^/]+)/(?:images|imglanding)}i, '".#{$1}のGoogleイメージ検索"', ['q'], DispReferrer2_Google_cache],
+ [%r{\Ahttp://(?:images|www)\.google\.([^/]+)/(?:images|imgres|imglanding)}i, '".#{$1}のGoogleイメージ検索"', ['q'], DispReferrer2_Google_cache],
[%r{\Ahttp://images\.google\.([^/]+)/imgres}i, '".#{$1}のGoogleイメージ検索"', [:prev], DispReferrer2_Google_cache],
[%r{\Ahttp://translate\.google\.([^/]+)/translate}i, '".#{$1}のGoogle検索"', [:prev], DispReferrer2_Google_cache],
],

0 comments on commit cb8a43f

Please sign in to comment.