Thread: [User feedback required] video download helper plugin für firefox
View Single Post
  #3  
Old 21.04.2021, 12:19
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,212
Default

You can use flash/flashgot api in external application or userscripts.

Documentation:
Code:
localhost:9666/help

Tampermonkey demo script which adds 'Send to JDownloader" menu item to the browser context menu, which can be used to send embeded links from a matching web page, to JD.

Code:
// ==UserScript==
// @name         Send to JDownloader
// @author       mgpai
// @match        *//interactive-examples.mdn.mozilla.net/pages/tabbed/embed.html
// @run-at       context-menu
// ==/UserScript==

var links = Array.apply(null, document.embeds).map(function(embed) {
    return embed.src
});

window.open(encodeURI("**External links are only visible to Support Staff**+links.join("<br>")));
Reply With Quote