View Single Post
  #52  
Old 10.02.2020, 21:43
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,545
Default

Quote:
So if I want the message(s) to be shown I just would exchange these commands. But that does not sound like an invalid command, but just one with another function, I would think.
Yes skipLink function has two commands link.setSkipped and alert (to show message). You can use only skipLink. To active/deactivate message display, simply comment/uncomment the alert command.

Quote:
Disable the link check? Or what link? I would not turn any link check off.
Not link check. I was suggesting, if you wish, you can use link.setDisabled in both scripts, instead of skipLink.

Quote:
A good point. But unskipping a duplicate link would not be necessary here, just remove it.
Deleting duplicate link directly using the script is also possible. But, there is no UNDO action in JD. So, it is better to give the user a chance to review the links before deleting it.
Reply With Quote