From aa30fa16a635f7d598bdd38af45d5e6b1a002f38 Mon Sep 17 00:00:00 2001 From: xing Date: Fri, 10 Apr 2020 09:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=84=E5=9B=BE=E4=B8=AD?= =?UTF-8?q?=E7=AC=AC3=E5=BC=A0=E5=9B=BE=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tieba page.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tieba page.js b/tieba page.js index b56e17f..7b4fa86 100644 --- a/tieba page.js +++ b/tieba page.js @@ -1,7 +1,7 @@ // ==UserScript== // @name tieba page // @namespace https://github.com/fthvgb1/tampermonkey-script -// @version 0.999 +// @version 1.000 // @author fthvgb1 // @match https://tieba.baidu.com/* // @match https://tiebac.baidu.com/* @@ -215,9 +215,9 @@ dataType: 'json', success: res => { let imgs = res.data.images; - imgs.splice(0, 2); + imgs.splice(0, 3); imgs.forEach((img, i) => { - if (i > num - 3) { + if (i > num - 4) { return; } let div = document.createElement('div');