Skip to content

Commit f48b981

Browse files
committed
fix
1 parent e818a02 commit f48b981

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

DownloadAllContent/DownloadAllContent.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// @name:zh-TW 懶人小説下載器
55
// @name:ja 怠惰者小説ダウンロードツール
66
// @namespace hoothin
7-
// @version 1.26
7+
// @version 1.27
88
// @description Fetch and download main content on current page, provide special support for chinese novel
99
// @description:zh-CN 通用网站内容抓取工具,可批量抓取小说、论坛内容等并保存为TXT文档
1010
// @description:zh-TW 通用網站內容抓取工具,可批量抓取小說、論壇內容等並保存為TXT文檔
@@ -142,7 +142,7 @@
142142
item.parentNode.removeChild(item);
143143
});
144144
}
145-
[].forEach.call(pageData.querySelectorAll("script,style,link,img,noscript"),function(item){delList.push(item);});
145+
[].forEach.call(pageData.querySelectorAll("script,style,link,img,noscript,iframe"),function(item){delList.push(item);});
146146
[].forEach.call(delList,function(item){item.parentNode.removeChild(item);});
147147
var largestContent,contents=pageData.querySelectorAll("span,div,article,p,td"),largestNum=0;
148148
for(i=0;i<contents.length;i++){

0 commit comments

Comments
 (0)