From ce08ce241bb31e664aed20f3a78bc483de222234 Mon Sep 17 00:00:00 2001 From: xing Date: Mon, 2 Mar 2020 22:53:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tieba page.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tieba page.js b/tieba page.js index 1754f5f..9427b9b 100644 --- a/tieba page.js +++ b/tieba page.js @@ -67,6 +67,14 @@ } } + let videos = e.querySelectorAll('.video'); + if (videos.length > 0) { + videos.forEach(video => { + let src = video.getAttribute('data-vhsrc'); + let img = video.querySelector('img'); + video.outerHTML = ``; + }); + } gif(e); let ee = $(e); @@ -275,7 +283,8 @@ [ '.img_desc', '.father-cut-recommend-normal-box', '.father-cut-daoliu-normal-box', - '#diversBanner', '.footer_logo', '.j_footer_link', '.frs_daoliu_for_app' + '#diversBanner', '.footer_logo', '.j_footer_link', '.frs_daoliu_for_app', + '.j_videoFootDownBtn' ].forEach(value => { let x = document.querySelector(value); if (x) {