Created
September 30, 2009 09:48
-
-
Save nanakoso/197950 to your computer and use it in GitHub Desktop.
PixivViewComment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name PixivViewComment | |
// @version 1.5 | |
// @namespace nanakoso | |
// @description PIXIVコメント履歴をデフォルトで見れるように Ver. 1.5 | |
// @include http://www.pixiv.net/member_illust.php*mode=medium* | |
// ==/UserScript== | |
setTimeout(later,500); | |
var count=20; | |
function later(){ | |
var area = unsafeWindow.document.getElementById('one_comment_area'); | |
if(area){ | |
try{ | |
if(unsafeWindow.one_comment_view){ | |
if(area.style.display=="none"){ | |
unsafeWindow.one_comment_view(); | |
} | |
} | |
}catch(e){ | |
GM_log(e); | |
} | |
}else{ | |
if(--count > 0){ | |
setTimeout(later,500); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment