JDownloader ve İnternet Manager Downloader için çok ideal oluyor ben kullanmaktayım.
Site yöneticileride film ve dizi sayfalarına kodu eklerse herkez için büyük rahatlık olur.
![[Resim: NQZJPTSIQQ2S_TIMrpvbjg.png]](https://img001.prntscr.com/file/img001/NQZJPTSIQQ2S_TIMrpvbjg.png)
Site yöneticileride film ve dizi sayfalarına kodu eklerse herkez için büyük rahatlık olur.
![[Resim: NQZJPTSIQQ2S_TIMrpvbjg.png]](https://img001.prntscr.com/file/img001/NQZJPTSIQQ2S_TIMrpvbjg.png)
Kod :
/* Filmbol.org ve forum.filmbol.org için site içi fonksiyonlar */
$(document).ready(function () {
const currentOrigin = location.origin;
const currentSearch = location.search;
if (currentOrigin.includes("forum.filmbol.org") && currentSearch.includes("tid")) {
console.log("Forumda bir konu içerisindesiniz.");
initializeButtons();
}
else if (currentOrigin.includes("www.filmbol.org")) {
console.log("Ana portaldasınız.");
}
else if (currentOrigin.includes("forum.filmbol.org")) {
console.log("Forum sayfasındasınız.");
}
});
function initializeButtons() {
$("body").append(`
<div id="multiFunctionContainer" style="position: fixed; z-index: 99999999999; bottom: 20px; right: 20px; display: flex; gap: 10px;">
<div onclick="copyAndNotify();" id="multiCopyLink"
style="cursor: pointer; display: flex; width: 50px; height: 50px; background-color: white;
justify-content: center; align-items: center; border-radius: 20px;">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="fill: #003965; height: 30px;">
<path d="M14 8H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2h10c1.103 0 2-.897 2-2V10c0-1.103-.897-2-2-2z"></path>
<path d="M20 2H10a2 2 0 0 0-2 2v2h8a2 2 0 0 1 2 2v8h2a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2z"></path>
</svg>
</div>
<div onclick="downloadAll();" id="downloadLink"
style="cursor: pointer; display: flex; width: 50px; height: 50px; background-color: white;
justify-content: center; align-items: center; border-radius: 20px;">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="fill: #003965; height: 30px;">
<path d="M12 16l4-4h-3V4h-2v8H8l4 4z"></path>
<path d="M20 18H4v2h16v-2z"></path>
</svg>
</div>
</div>
`);
}
function copyAndNotify() {
const filmLinks = [];
$('a.down-buttons').each(function () {
const buttonText = $(this).text().trim();
if (buttonText === 'FILMBOL SUPERFAST') {
filmLinks.push($(this).attr('href'));
}
});
const copiedText = filmLinks.join('\n');
navigator.clipboard.writeText(copiedText).then(function () {
console.log('Film linkleri başarıyla panoya kopyalandı.');
$("#multiCopyLink").css("background-color", "#89f0a6");
}).catch(function (err) {
console.error('Panoya kopyalama işlemi başarısız oldu:', err);
$("#multiCopyLink").css("background-color", "#f08989");
});
}
function downloadAll() {
$('a.down-buttons').each(function () {
var link = $(this).closest("a").attr("href");
var iframe = $('<iframe/>', {
src: link,
style: 'visibility:hidden;position:absolute;left:-9999px;'
}).appendTo('body');
});
$("#downloadLink").css("background-color", "#89f0a6");
setTimeout(function () {
window.close();
}, 2000);
}
Kod :
Sorun yoktur, Çözümler vardır.