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
| 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)) |
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
| 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); | |
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 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; |
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 Jottit Oops Reload | |
| // @include http://*.jottit.com/* | |
| // ==/UserScript== | |
| if(document.body.innerHTML.match('>Oops!<')) | |
| setTimeout(function(){location.reload()}, 10000); |
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
| 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'); |
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 Stop Right Click | |
| // @namespace http://github.com/to | |
| // @include http://www.iza.ne.jp/* | |
| // ==/UserScript== | |
| window.addEventListener('contextmenu', function(e){ | |
| e.stopPropagation(); | |
| }, false); |
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
| var tomb = Components.classes['@brasil.to/tombloo-service;1'].getService().wrappedJSObject; | |
| var ctx = _jsaCScript.context; | |
| if(ctx.onImage){ | |
| var src = ctx.target.src; | |
| var name = prompt('Source String'); | |
| } else { | |
| var name = trim(ctx.selection); | |
| var string = prompt('Destination String'); | |
| } | |
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
| var RE = /zshare/; | |
| _jsaCScript.setClipBoardString( | |
| Array.filter(document.links, function(l){ | |
| return RE.test(l.href) | |
| }).join('\n') | |
| ); |
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 gist - ubiquity | |
| // @namespace http://d.hatena.ne.jp/youpy/ | |
| // @include http://gist.github.com/* | |
| // @require http://gist.github.com/raw/3242/1a7950e033a207efcfc233ae8d9939b676bdbf46 | |
| // ==/UserScript== | |
| (function() { | |
| var data = $X('id("gist_data")'); | |
| if(!data) |