Send URLs to JDownloader using Click'n'Load 2 functionality and close OCH page.
Orginal from https://greasyfork.org/de/scripts/465741-jdownloader-automat
This is a simple script which saves you the effort of manually copying the link of a file share service, just to be caught by the JDownloader LinkGrabber functionality.
Any domain you like!
For example, the vanilla version catches any fireload.com URL. But if you want to use it for any other domain, eg. to support "Mega.nz" you should add a line like this below the existing @match line in the header:
// @match https://.mega.nz/
This script uses CNL2 (aka. Click'n'Load 2 or Click&Load 2) functionality. Find the quick intro here: https://jdownloader.org/knowledge/wiki/glossary/cnl2 How to avoid nag pop-up "An external application tries to add links"
Each time the script adds a new file, you get the abovementioned pop-up? Go to JDownloader [Settings] → [Advanced Settings] → enter "remoteapi" to find the proper setting, and add "localhost" to the JSON