View Single Post
Old 03.12.2020, 16:19
Dockel Dockel is offline
Join Date: Feb 2020
Posts: 221

I am not sure which one this does:

// Skip link if it present in download history (has "#duplicatelink" in comment)
// To download the file (prevent skipping), remove "#duplicatelink" from comment
// Trigger required: A Download Started

var comment = link.getComment() || "";

if (comment.indexOf("#duplicatelink") > -1) {
    // var url = link.getContentURL() || link.getPluginURL(); // Nur tatsächlich runtergeladene Varianten von YouTube werden als Duplikate behandelt
    var url = link.getHost() == "" ? link.getContainerURL() : link.getContentURL() || link.getPluginURL(); // alle Varianten auf YouTube werden als Duplikate behandelt
    link.setEnabled(false); //To disable the link instead of skipping it, replace link.setSkipped(true); with link.setEnabled(false); in both the scripts
    alert("Download Skipped: \"" + url + "\" is present in history file.");
It must be one ot those:

Onces you've removed the link from downloadlist, JDownloader will no longer highlight the link in linkgrabber as dupe (different colour),
Yes, I know.

the script cannot do this
Yes, that is OK, it shouldn't do that either. But it should mark the dups as dups (in the comments).
Aktuelles Windows

Last edited by Dockel; 03.12.2020 at 16:21.
Reply With Quote