Skip to content

Commit f9aa7ac

Browse files
committed
Update X-Downloader.user.js
1 parent 72bb0a2 commit f9aa7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

X-Downloader/X-Downloader.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
downloadBtn.removeAttribute('download');
7474
let link = parent.querySelector('a[role="link"][aria-label][href^="/"]');
7575
downloadBtn.href = `https://twitter.hoothin.com/?url=${encodeURIComponent(link ? link.href : document.location.href)}`;
76-
if (e.altKey) {
76+
if (e.altKey || touch) {
7777
window.open(downloadBtn.href, "_blank");
7878
}
7979
}

0 commit comments

Comments
 (0)