Skip to content

Commit 02688f1

Browse files
committed
fix
1 parent b805819 commit 02688f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DownloadAllContent/DownloadAllContent.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
var aEles=document.querySelectorAll("a"),list=[];
239239
for(var i=0;i<aEles.length;i++){
240240
var aEle=aEles[i];
241-
if(aEle.href && /^http/.test(aEle.href) && /PART\b|Prologue|Chapter\s*\d+|.+[|||||||]|^$|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|[\d|||||||||||||||||-]+(|)/i.test(aEle.innerHTML)){
241+
if(aEle.href && /^http/i.test(aEle.href) && /PART\b|Prologue|Chapter\s*\d+|.+[|||||||]|^$|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|\s*|[\d|||||||||||||||||-]+(|)/i.test(aEle.innerHTML)){
242242
list.push(aEle);
243243
}
244244
}

0 commit comments

Comments
 (0)