From 29df7d6de90cda64964c664a1a2f4ceb1a3699e0 Mon Sep 17 00:00:00 2001 From: xing Date: Sun, 19 Apr 2020 08:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tieba page.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/tieba page.js b/tieba page.js index 4593626..cd8d5a0 100644 --- a/tieba page.js +++ b/tieba page.js @@ -14,8 +14,6 @@ (function () { 'use strict'; - let obs; - function jpg(v) { let fimgs = v.querySelectorAll('span[class="wrap pbimgwapper"]>img.BDE_Image'); if (fimgs.length > 0) { @@ -29,7 +27,7 @@ let h = value.dataset.url.replace('tiebapic', 'imgsrc').replace('tiebapic', 'imgsrc'); let tmp = decodeURIComponent(h.split('&src=')[1]).split('/'); tmp = tmp[tmp.length - 1]; - value.outerHTML = `
`; + value.outerHTML = `
`; }) } } @@ -48,7 +46,6 @@ } } - function delElement(selectors) { selectors.forEach(value => { let x = document.querySelector(value); @@ -526,7 +523,6 @@ }) } - function list() { slio(document.querySelectorAll('#frslistcontent>li')); delElement([ @@ -627,7 +623,6 @@ } - function detail() { god(); p(); @@ -661,8 +656,8 @@ } - let book; - let svgss; + let book, svgss; + function clickControl() { let el = ['list_item_top_name', 'j_new_header_reply', 'list_item_user_wrap', 'user_img', 'user_name', 'icon_tieba_edit', 'reply_num', 'for_app_label_text_tag'];