Creates a download link next to video title
اعتبارا من
// ==UserScript==
// @name LiveLeak download
// @version 1.3
// @description Creates a download link next to video title
// @author Mark Lin
// @match *://www.liveleak.com/view?t=*
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @namespace https://greasyfork.org/users/17419
// ==/UserScript==
$(document).ready(function () {
var title = $('title').text() + '.mp4';
var url = $("video.vjs-tech")[0].src;
$('<a href="'+ url +'" download="'+ title +'">Download File</a>').insertAfter('.channel_video_heading h3');
});