2017-09-08 00:06:24 +02:00
|
|
|
// ==UserScript==
|
2017-09-10 20:42:21 +02:00
|
|
|
// @name Tampermonkey Plugin for Cyb3r Downloader
|
|
|
|
// @version 1.0
|
|
|
|
// @description Tampermonkey Plugin for Cyb3r Downloader
|
|
|
|
// @author Theenoro
|
|
|
|
// @require http://code.jquery.com/jquery-latest.js
|
2017-09-08 00:06:24 +02:00
|
|
|
// @match https://www.youtube.com/watch?v=*
|
|
|
|
// @grant none
|
|
|
|
// ==/UserScript==
|
|
|
|
|
|
|
|
(function() {
|
|
|
|
'use strict';
|
|
|
|
var s = jQuery.noConflict();
|
|
|
|
console.log('loaded');
|
|
|
|
setTimeout(function(){
|
|
|
|
s('#end').prepend('<button id="cb3_send">Send To Cyber</button>');
|
|
|
|
},1000);
|
|
|
|
// Your code here...
|
|
|
|
s('body').delegate('#cb3_send','click',function(){
|
|
|
|
var sy = window.location;
|
|
|
|
s.post( "http://127.0.0.1:54167/download?url="+encodeURI(sy),function() {
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
})();
|