Skip to content

Commit 077a058

Browse files
committed
Update X-Downloader.user.js
1 parent 63f0131 commit 077a058

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

X-Downloader/X-Downloader.user.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@
116116
e.target.parentNode.appendChild(downloadBtn);
117117
} else if (e.target.dataset && /^video\-player/.test(e.target.dataset.testid)) {
118118
e.target.parentNode.appendChild(downloadBtn);
119-
} else if (e.target.firstElementChild) {
120-
if (e.target.firstElementChild.getAttribute("role") == "progressbar") {
121-
e.target.parentNode.parentNode.appendChild(downloadBtn);
122-
}
123119
} else if (e.target.parentNode && e.target.parentNode.dataset && e.target.parentNode.dataset.testid == "tweetPhoto") {
124120
e.target.parentNode.parentNode.appendChild(downloadBtn);
125121
}

0 commit comments

Comments
 (0)