Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name YouTube Manual Play
// @include http://www.youtube.com/watch*
// @include http://youtube.com/watch*
// ==/UserScript==
(function(){
var player = document.getElementById('movie_player');
if(!player)
return;
// ==UserScript==
// @name Twitter Title Chop
// @include http://twitter.com/*
// ==/UserScript==
window.addEventListener('load', function(){
document.title = document.title.replace(/Twitter[ \/]*/, '');
}, true);
// ==UserScript==
// @name LDR - Feed Filter
// @namespace http://github.com/to
// @include http://reader.livedoor.com/reader/
// ==/UserScript==
var FILTERS = [
function(c){
if(/zLLQDaZE3hGdsj811ZzWFw/.test(c.feedlink))
c.title = c.feedlink.replace(/.*username=(.*)/, 'Soundcloud: $1');
function remove(path){
var shell = new ActiveXObject('Shell.Application');
var fileSystem = WScript.createObject('Scripting.FileSystemObject');
if(fileSystem.fileExists(path)){
var target = fileSystem.getFile(path);
var folder = shell.nameSpace(target.parentFolder.path);
shell.nameSpace(10).moveHere(folder.items().item(target.name));
while(fileSystem.fileExists(path))
shortcutkeys['CTRL + D'] = {
description : 'LDR hatebu comment',
execute : function(e){
var fx = getMostRecentWindow();
var win = wrappedObject(fx.content);
if(!/(http:\/\/reader\.livedoor\.com\/reader\/)/.test(win.location))
return;
cancel(e);
// ==UserScript==
// @name XULPlanet -> MDC
// @namespace http://github.com/to
// @include http://www.xulplanet.com/references/xpcomref/ifaces/*
// ==/UserScript==
var name = location.href.match(/.*\/([^\.]*)\..*/)[1];
location.href = 'https://developer.mozilla.org/en/' + name;
// ==UserScript==
// @name Jottit Oops Reload
// @include http://*.jottit.com/*
// ==/UserScript==
if(document.body.innerHTML.match('>Oops!<'))
setTimeout(function(){location.reload()}, 10000);
Tombloo.Service.actions.register( {
name : 'Viva-Radio Downloader',
execute : function(){
var self = this;
var ZONE = 9;
var BASE_URL = 'http://www.viva-radio.com';
var DIR = getDownloadDir();
DIR.append('viva-radio');