This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name youtube tweaks | |
// @description Add H.264 version link and .mp4 file link | |
// @namespace f99aq8ove.net | |
// @include http://*.youtube.com/watch?* | |
// ==/UserScript== | |
var video_file_url = function(fmt) { | |
var s = unsafeWindow.yt.getConfig("SWF_ARGS"); | |
return "http://" + location.host + "/get_video?" + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
my @args = @ARGV; | |
my %opt; | |
$opt{f} = '%g'; | |
foreach (@args) { |
NewerOlder