Skip to content

Instantly share code, notes, and snippets.

View negipo's full-sized avatar
😇
corpse

Yoshiteru Negishi negipo

😇
corpse
  • Tokyo
View GitHub Profile
// ==UserScript==
// @name LDRFc2ImageRefererHack
// @namespace http://polog.org/
// @include http://fastladder.com/reader/
// @include http://reader.livedoor.com/reader/
// @require http://gist.github.com/3242.txt
// ==/UserScript==
// based on http://gist.github.com/35666 by javascripter
// some codes are based on LDR Full Feed http://userscripts.org/scripts/show/22702 by Constellation
// using utility $X() http://gist.github.com/3242 by os0x
// ==UserScript==
// @name PoupeegirlRibbonFilter
// @include http://pupe.ameba.jp/cute/community/goods*
// @require http://gist.github.com/3242.txt
// ==/UserScript==
var threshold = 5;
function filter(doc){
$X('descendant-or-self::ul[@class="list"]/li', doc).forEach(function(e){
var ribbons = parseInt(/[\d,]+/.exec($X('descendant-or-self::span[@class="ribbon"]', e)[0].innerHTML)[0].replace(/,/g, ""));
@-moz-document url-prefix(http://www.hatena.ne.jp/) {
.activities-more{
display:block !important;
}
}
// ==UserScript==
// @name TwitterAutoLogin
// @namespace http://polog.org/
// @include http://twitter.com*
// ==/UserScript==
var $ = function(id){return document.getElementById(id)}
if($('signin_submit')){
$('signin_submit').click();
return;
// ==UserScript==
// @name IncrementalFilter4GoogleSearch
// @namespace http://polog.org/
// @include http://www.google.co.jp/search*
// ==/UserScript==
// modified http://userscripts.org/scripts/review/48667
(function() {
var Style = function(){};
Style.add = function(css){
var x = document.createElement('script');
x.src='http://gist.github.com/raw/2040/ae6c51aa5fb11eeab8e4a970102077333f5a3d06/dollarX.js';
document.body.appendChild(x);
$X('//div[@class="gs"]', document.getElementById('canvas_frame')).forEach(
function(e){
if(!/88\.198\.36\.73/.exec(e.innerHTML))
return;
e.style.display="none";
});
// ==UserScript==
// @name CookpadCalcCalorie
// @namespace http://polog.org/
// @include http://cookpad.com/recipe/*
// @require http://gist.github.com/3242.txt
// ==/UserScript==
// this script is using YACA - Yet Another Calorie API http://makimoto.tsuyabu.in/YACA/
var ingredient_calories = eval(GM_getValue('cache')) || {};
GM_addStyle(
// ==UserScript==
// @name HelpMeOnoMatope
// @namespace http://polog.org/
// @include http://favotter.matope.com/*
// ==/UserScript==
var url = 'http://twitter.com/statuses/user_timeline/ono_matope.json';
if(document.title != '503 Service Temporarily Unavailable' && !/Sorry, Database Server is down なう/.test(document.body.innerHTML))
return;
// ==UserScript==
// @name TinyIkeda
// @namespace http://polog.org/
// @include http://*
// @include https://*
// ==/UserScript==
GM_addStyle('body{margin:0;padding:0;color:black;background-color:white;line-height:1;margin:0;padding:0;font-family:Gill Sans;font-size:10px;width: 100%;text-align: center;height:1em;overflow:hidden;}div.ikeda_box{line-height:1;}');
var cols = 500;
var rows = 100;
// ==UserScript==
// @name FindArchivedContent
// @namespace http://polog.org/
// @include http*://*
// @require http://gist.github.com/3242.txt
// ==/UserScript==
// using $X http://gist.github.com/3242 by os0x
GM_addStyle('div.gm_po_icon{position: fixed; top: 3px; color: #CCC;width: 10px; height:10px;z-index: 255;}' +
'div.gm_po_content{position: fixed; top: -300px; color: black;width: 120px; height: 200px; overflow-y: scroll;border: 1px solid black; background-color: white;font-size: 10px; color: #000;text-align:left;font-weight:normal;line-height:120%;font-family:verdana; z-index: 256; padding: 0px;}' +