From 82d2cc5bd6b7f8ce501d62bfd0db5eac1b267bd3 Mon Sep 17 00:00:00 2001 From: "Cyber a. k. a. Theenoro" Date: Sun, 1 Oct 2017 03:09:48 +0200 Subject: [PATCH] Update tampermonkey_plugin.js --- browser_out/tampermonkey_plugin.js | 50 +++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 7 deletions(-) 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