Skip to content

Instantly share code, notes, and snippets.

@nanakoso
Created September 30, 2009 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanakoso/197950 to your computer and use it in GitHub Desktop.
Save nanakoso/197950 to your computer and use it in GitHub Desktop.
PixivViewComment
// ==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