Jump to content
tw8

Download from [url]http://www.hackclips.com[/url] - [Hacking Videos]

Recommended Posts

A se folosi impreuna cu GreaseMonkey:


// ==UserScript==
// @name HackClips Download - by tw8
// @namespace tw8
// @description Using this script you can download any video from "http://www.hackclips.com/"
// @include [url]http://www.hackclips.com/video/*[/url]
// ==/UserScript==

/*Made by tw8
Have a look on:
[url]http://www.hackpedia.info[/url]
[url]http://skullbox.info[/url]
[url]http://rstcenter.com[/url]
*/


function get_link()
{
var link = document.location.href;
link = link.substr(link.lastIndexOf("/")+1);
return "http://www.hackclips.com/fplayer.php?id=" + link;
}

function true_link(source)
{
var link = source.substr(0, source.indexOf("</file>"));
link = link.substr(link.indexOf("<file>")+6);
document.location = link;
return 0;
}

GM_registerMenuCommand
('Download this video', function()
{
var tw8 = get_link();
GM_xmlhttpRequest
({
method:"GET",url:tw8, headers:{"User-Agent":"Mozilla/5.0", "Accept":"text/xml"}, onload:function(response)
{
var continut = response.responseText;
true_link(continut);
}
})

}
);

O sa fac si un mini-tutorial de instalare, pentru ca multi nu stiu cum sa il puna pe picioare.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...