This file contains 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 Deny Rakuten News | |
// @namespace http://espion.just-size.jp/archives/05/136155838.html | |
// @description Deny Rakuten News | |
// @include https://*.step.rakuten.co.jp/* | |
// @include https://*.travel.rakuten.co.jp/rsv/RsvInput.do* | |
// @include https://my.rental.rakuten.co.jp/action/my/* | |
// @include https://delivery.rakuten.co.jp/*?module=Default&action=OrderStep* | |
// @include https://auction.item.rms.rakuten.co.jp/* | |
// @include https://my.checkout.rakuten.co.jp/myc/purchase/Confirm |
This file contains 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.extractors.register( | |
{ | |
name: 'Conversation - togetter', | |
RE : /^http:\/\/togetter\.com\/li\//, | |
ICON : 'http://togetter.com/favicon.ico', | |
check : function(ctx){ | |
return this.RE.test(ctx.href); | |
}, | |
extract : function (ctx) { | |
var list_item = $x('//li[contains(concat(" ", @class, " "), " list_item ")][div[contains(concat(" ", @class, " "), " type_tweet ")]]', ctx.document, true); |
This file contains 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
models.register({ | |
name : 'Local HTML', | |
ICON : 'chrome://tombloo/skin/local.ico', | |
check : function(ps) { | |
return (/(regular|photo|quote|link)/).test(ps.type); | |
}, | |
post : function(ps) { |
This file contains 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
/** | |
* outerHTML.js | |
* | |
* @version 1.4 | |
* @author think49 | |
*/ | |
if (!('outerHTML' in document.createElement('p')) && 'innerHTML' in document.createElement('p') && (typeof HTMLElement === 'function' || typeof HTMLElement === 'object')) { | |
(function () { | |
var _Node = (typeof Node === 'function' || typeof Node === 'object') ? Node : { |
This file contains 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 Tumblr - Edit link | |
// @namespace ivanmendoza.net | |
// @description Add an edit link for tumblr posts (very useful for colaborative blogs) | |
// @include http://jser.info/post/* | |
// ==/UserScript== | |
// origina from http://userscripts.org/scripts/show/65725 | |
function getLink() { | |
var href = location.href; | |
var m = new RegExp('(http:\\/\\/)((?:[a-z][a-z\\.\\d\\-]+)\\.(?:[a-z][a-z\\-]+))(?![\\w\\.])(\\/post\\/)(\\d+)', ["i"]).exec(href); |
This file contains 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
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<script type="text/javascript" src="https://github.com/mach3/js-jquery-class/raw/master/jquery.class.min.js"></script> | |
<script type="text/javascript" src="https://github.com/mach3/js-tumblrposts.js/raw/master/tumblrposts.js"></script> | |
<script type="text/javascript"> | |
(function() { | |
var posts = new TumblrPosts({ | |
domain:"jser.info", | |
maxNum:300 | |
}); | |
posts.bind(posts.EVENT_COMPLETE, function(e) { |
This file contains 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
// LZW-compress a string | |
function lzw_encode(s) { | |
var dict = {}; | |
var data = (s + "").split(""); | |
var out = []; | |
var currChar; | |
var phrase = data[0]; | |
var code = 256; | |
for (var i=1; i<data.length; i++) { | |
currChar=data[i]; |
This file contains 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
// @license = public domain | |
// =Usage | |
// Number = Xorshift.random(); | |
// | |
// var xor128 = Xorshift.init(); | |
// Array = xor128.make(1000000); | |
(function() { |
This file contains 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
/** | |
* get-type.js | |
* | |
* @version 1.0.2 | |
* @author think49 | |
* @url https://gist.github.com/862085 | |
* @license http://www.opensource.org/licenses/mit-license.php (The MIT License) | |
*/ | |
function getType (value) { |
This file contains 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 drawr + Tombloo | |
// @namespace http://drawr.net/saitamanodoruji | |
// @description adds 'Tombloo::drawr' command to minibuffer, which calls 'Photo - drawr' extractor of Tombloo. | |
// @include http://drawr.net/* | |
// @author saitamanodoruji | |
// @version 0.0.10 | |
// ==/UserScript== | |
// | |
// Features |
OlderNewer