aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2013-07-08 22:17:24 +0900
committeranekos2013-07-08 22:17:24 +0900
commitb84dff2ba1959eb2385e8ce88016f639a731efa0 (patch)
tree764b247563d7a9af90f024dfb28fa19d31085da4
parent05753e43a8724d23064843a8cde351692797f8cc (diff)
parent7ef8f640b971a2a687f4ddda193237bb4721a755 (diff)
downloadvimperator-plugins-b84dff2ba1959eb2385e8ce88016f639a731efa0.tar.bz2
Merge branch 'master' of github.com:vimpr/vimperator-plugins
-rw-r--r--pixiv.js7
-rw-r--r--twittperator/twsidebar.tw2
2 files changed, 6 insertions, 3 deletions
diff --git a/pixiv.js b/pixiv.js
index 2d670f3..07ec62c 100644
--- a/pixiv.js
+++ b/pixiv.js
@@ -262,13 +262,16 @@ commands.addUserCommand(
let saveMangaFiles=function(){
let htmldoc=getDOMHtmlDocument(xhrImgInfo.responseText);
if(htmldoc){
- let max=htmldoc.getElementsByClassName('image-container').length;
+ let max=htmldoc.getElementsByClassName('image ui-scroll-view').length;
for(var i=0;i<max;i++){
requestMangaSingleContent(
- url.replace('manga','manga_big').replace('type=scroll','page=')+i,
+ url.replace('manga','manga_big')
+ .replace('type=scroll','page=')
+ .replace('&uarea=follower_new_illust','')+i,
url.replace('&type=scroll','')
);
}
+
}
};
// }}}
diff --git a/twittperator/twsidebar.tw b/twittperator/twsidebar.tw
index 02e8f51..77450f7 100644
--- a/twittperator/twsidebar.tw
+++ b/twittperator/twsidebar.tw
@@ -175,7 +175,7 @@ liberator.modules.TWAnekoSB = ANekoSB = (function () {
if (modified) {
if (modified instanceof Array) {
[t, tab, streamName] = modified;
- } if (modified === 'reject') {
+ } else if (modified === 'reject') {
return;
} else {
t = modified;