From b655459ff41348dd572655340572490cb24ea849 Mon Sep 17 00:00:00 2001 From: mitsugu oyama Date: Fri, 29 Apr 2011 18:11:22 +0900 Subject: 特定のユーザ名でパス名を取得できなかった問題を修正 --- pixiv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixiv.js b/pixiv.js index 9208101..c216383 100644 --- a/pixiv.js +++ b/pixiv.js @@ -192,7 +192,7 @@ commands.addUserCommand( .getElementsByTagName('script').item(0) .childNodes.item(0).nodeValue; fst=strScript.search(/unshift/i)+'unshift'.length+2; - snd=strScript.indexOf('_',fst); + snd=strScript.lastIndexOf('_'); strFst=strScript.substr(fst,snd-fst); fst=snd; -- cgit v1.2.3