aboutsummaryrefslogtreecommitdiffstats
path: root/pixiv.js
diff options
context:
space:
mode:
authormitsugu oyama2011-04-29 18:11:22 +0900
committermitsugu oyama2011-04-29 18:11:22 +0900
commitb655459ff41348dd572655340572490cb24ea849 (patch)
treedaa05993e170f7fac19eeb4bdd802b3c762807ae /pixiv.js
parent058255ee5d04fdbd6d27685ebc8e7e5695625d2e (diff)
downloadvimperator-plugins-b655459ff41348dd572655340572490cb24ea849.tar.bz2
特定のユーザ名でパス名を取得できなかった問題を修正
Diffstat (limited to 'pixiv.js')
-rw-r--r--pixiv.js2
1 files changed, 1 insertions, 1 deletions
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;