Improve UI and functionality for options and scripts

This commit is contained in:
√(noham)² committed 2025-12-23 22:56:12 +01:00
1 parent 98c7f2fcd5
commit 917e536468
9 files changed
+183 -84

No files matched your search

@@ -1,3 +1,4 @@
var downloadButton = document.querySelector('a.butt');
downloadButton.onclick = function () {};
downloadButton.removeAttribute('onclick');
if (downloadButton) {
downloadButton.onclick = function() { window.location.href = this.href; };
}
+1
View File
@@ -15,6 +15,7 @@ downloadLine.insertAdjacentElement('afterend', torrentInfo);
/* Add third party download button */
var downloadButton = downloadLine.querySelector('a.butt');
downloadButton.removeAttribute('id'); // remove "download-timer-btn"
var flexButton = document.createElement('a');
flexButton.appendChild(document.createTextNode('Télécharger via discord '));
var span = document.createElement('span');