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
<?xml version="1.0" encoding="UTF-8"?> | |
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> | |
<!-- | |
// ==UserScript== | |
// @name Context Google Image Search | |
// @description 右クリックメニューから画像検索 | |
// @version 1.0 | |
// @include main | |
// @compatibility Firefox 45 | |
// @author oflow |
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
@font-face { | |
font-family: "Verdana"; | |
src: local("Open Sans"); | |
unicode-range: U+0000-007F; | |
} | |
@font-face { | |
font-family: "Arial"; | |
src: local("Open Sans"); | |
unicode-range: U+0000-007F; |
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
['ajax', 'data-src', 'data-lazy-src', 'data-original', 'rel:bf_image_src'].forEach((attr) => { | |
var elms = document.querySelectorAll('*[' + attr.replace(/:/, '\\:') + ']'); | |
for (var i = 0; i < elms.length; i++) { | |
if (elms[i].nodeName !== 'IMG') { | |
let img = document.createElement('img'); | |
img.src = elms[i].getAttribute(attr); | |
img.style.cssText = 'max-width: 100%; max-height: 100%;'; | |
elms[i].appendChild(img); | |
} else { | |
elms[i].src = elms[i].getAttribute(attr); |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@font-face { | |
font-family: "MS Pゴシック"; | |
src: local("メイリオ"); | |
} | |
@font-face { | |
font-family: "Osaka"; | |
src: local("メイリオ"); | |
} |
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 Redirect Linkis.com | |
// @description fuckin' ln.is iframe | |
// @include http://linkis.com/* | |
// ==/UserScript== | |
(function() { | |
var iframe = document.getElementById('source_site'); | |
if (iframe) location.replace(iframe.src); | |
})(); |
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 Redis = require('redis'); | |
function redisConnect() { | |
var client = Redis.createClient(), | |
redis = { | |
end: function() { | |
client.end(); | |
for (let prop in redis) { | |
delete redis[prop]; | |
} |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix(http://www.arealme.com/japanese-vocabulary-size-test/ja) { | |
.answer { | |
background-color: #efe !important; | |
transition: background-color 1s ease 5s !important; | |
} | |
li:hover .answer[value="1"] { | |
background-color: #fbb !important; | |
} |
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
@-moz-document domain(rakuten.co.jp) { | |
#rakutenLimitedId_header > .riShopHdrWrap { | |
z-index: 900 !important; | |
} | |
} |
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 Fuck you <INPUT onpaste="return false"> | |
// @description 貼り付け禁止すんな殺すぞ! | |
// @include https://* | |
// ==/UserScript== | |
/* https://developer.mozilla.org/en-US/docs/Web/API/Event/stopImmediatePropagation */ | |
document.addEventListener('paste', event => event.stopImmediatePropagation(), true); |
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 ドスパラ税込み表示 | |
// @description ドスパラは(+税)の表示やめろ! | |
// @include http://www.dospara.co.jp/* | |
// ==/UserScript== | |
'use strict'; | |
['em[itemprop="price"]', '.itemSearchTable .price', 'span.rankingAreaPrice'].forEach(query => { | |
document.querySelectorAll(query).forEach(elm => { | |
var price = Number(elm.textContent.split('円')[0].replace(/[^\d]/g, '')); |