We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e87b209 commit f98ba31Copy full SHA for f98ba31
1 file changed
DownloadAllContent/DownloadAllContent.user.js
@@ -390,7 +390,7 @@
390
for(i=0;i<childlist.length;i++){
391
var child=childlist[i];
392
if(getDepth(child)==getDepth(largestContent)){
393
- if((!largestContent.className && child.className) || (largestContent.className && !child.className))continue;
+ if((!largestContent.className && child.className) || (largestContent.className && !child.className) || (largestContent.className && child.className && largestContent.className != child.className))continue;
394
if((largestContent.className && largestContent.className==child.className)||largestContent.parentNode ==child.parentNode){
395
getRightStr(child, true);
396
}else {
0 commit comments