JDownloader Community - Appwork GmbH

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 26.04.2024, 13:19
mgpai mgpai is offline
Script Master
Join Date: Sep 2013
Posts: 1,578

Originally Posted by StefanM View Post
... script which marks all occurrences of duplicates.
    disable dupes
    trigger : toolbar button pressed

if (name == "disable dupes") {
    var original = [];

    getAllCrawledLinks().forEach(function(link) {
        var url = link.contentURL;
            if(original.indexOf(url) == -1){
                //link.comment = "original";
            } else {
                link.enabled = false;
                //link.comment = "dupe"

Script also has an option to set comment which is disabled by default. If enabled, the comment on first link will be set as 'orginal' and subsequent links will be set to "dupes". This will be useful for creating view filters.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 19:57.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.