Skip to content
Permalink
Browse files

DOMNodeInsertedでdiv#iresを追加するように変わってたので対応

  • Loading branch information...
oflow
oflow committed Aug 17, 2012
1 parent c49a94f commit 83b55ded20fabfa5da9c97390dad5e0c353cc4f3
Showing with 5 additions and 2 deletions.
  1. +5 −2 google_search_thumbnail.user.js
@@ -9,6 +9,7 @@
// @include http://www.google.com/search*
// @include http://www.google.com/webhp*
// @include http://www.google.com/#hl=*
// @include
// @include https://www.google.co.jp/search*
// @include https://www.google.co.jp/webhp*
// @include https://www.google.co.jp/#
@@ -90,13 +91,15 @@
switch (event.type) {
case 'DOMNodeInserted':
if (elm.nodeName == 'LI' || elm.nodeName == 'OL') {
// console.debug(elm.nodeName, elm.id, elm.className);
// Ajaxで追加 = LI
// AutoPagerizeで追加 = OL
this.setWebnail(elm);
} else if (elm.nodeName == 'DIV' && elm.className == 'vspi') {
// どの場合これになるんだっけ…
} else if (elm.nodeName == 'DIV' && elm.id == 'ires') {
// console.debug(elm);
// 2012-08-17 ajaxで追加
this.setWebnail(elm);

}
break;
case 'unload':

0 comments on commit 83b55de

Please sign in to comment.
You can’t perform that action at this time.