diff --git a/browser_out/tampermonkey_plugin.js b/browser_out/tampermonkey_plugin.js index 26b7883..e132971 100644 --- a/browser_out/tampermonkey_plugin.js +++ b/browser_out/tampermonkey_plugin.js @@ -1,25 +1,61 @@ // ==UserScript== -// @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 +// @name Cyber Downloader ADD +// @namespace http://tampermonkey.net/ +// @version 0.1 +// @description try to take over the world! +// @author You +// @require http://code.jquery.com/jquery-latest.js +// @require https://rawgit.com/notifyjs/notifyjs/master/dist/notify.js // @match https://www.youtube.com/watch?v=* // @grant none // ==/UserScript== +var css = ` + + +`; + (function() { 'use strict'; var s = jQuery.noConflict(); console.log('loaded'); setTimeout(function(){ - s('#end').prepend(''); + s('#end').prepend(css); },1000); // Your code here... s('body').delegate('#cb3_send','click',function(){ var sy = window.location; + s.notify("Start Download", "info"); s.post( "http://127.0.0.1:54167/download?url="+encodeURI(sy),function() { }); }); -})(); +})(); \ No newline at end of file