Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Prevent OBJECT Insertion
// @version 1.1
// @description OBJECT要素の挿入を阻止します。「Amazonが重い」問題(Bug 1172205)を回避できるかもしれません。
// @id f4cce630-3501-4d9f-a846-d69064429f02
// @namespace f4cce630-3501-4d9f-a846-d69064429f02
// @include http://www.amazon.com/*
// @include http://www.amazon.com.au/*
// @include http://www.amazon.com.br/*
// @include http://www.amazon.ca/*
@Griever
Griever / UCSS.uc.js
Created January 20, 2013 12:25
UCSS reload usercss
// ==UserScript==
// @name UCSS
// @description reload usercss
// @namespace http://d.hatena.ne.jp/Griever/
// @author Griever
// @license MIT License
// @compatibility Firefox 18
// @charset UTF-8
// @include main
// @version Beta 1
// ==UserScript==
// @name reload_userChrome_and_userContent.uc.js
// @description ┐(´ー`)┌
// @namespace http://d.hatena.ne.jp/Griever/
// @author Griever
// @license MIT License
// @compatibility Firefox 17
// @charset UTF-8
// @include main
// @version 0.0.1
@ebith
ebith / .vimperatorrc
Created December 12, 2012 01:19
vimperatorrcのtwittperator部分
let g:twittperator_use_ssl_connection_for_api_ep = 1
let g:twittperator_use_chirp = 1
let g:twittperator_all_replies = 1
let g:twittperator_screen_name = "ebith"
let g:twittperator_history_limit = 5000
let g:twittperator_lang = "ja"
let g:twittperator_count = 50
let g:twittperator_track_words = "vimp,vimperator,gNTPdate,Twittperator,ついっぺ,ツイッペ,twsidebar"
let g:twittperator_plugin_pong = 1
@myaumyau
myaumyau / user.js
Last active August 29, 2022 10:12
Firefox user.js
// テキストが見つかったときに Find Toolbar をフラッシュするか。
// 0: Find Toolbar は前から前からフラッシュしており、見つかったときにフラッシュしない
// 1: 見つかったときに Find Toolbarフラッシュする。
user_pref("accessibility.typeaheadfind.flashBar", 0);
// 自動更新
user_pref("app.update.auto", false);
// タブプレビュー機能
user_pref("browser.ctrlTab.previews", true);
@Griever
Griever / _readme.txt
Last active October 13, 2015 06:27
plugins.click_to_play でブロックした YouTube の埋め込み動画にサムネイルをつける
clicktoplay.xml を chrome フォルダに保存。
Stylish で使う場合はフルパスに直すこと。
@oflow
oflow / dotinstall_auto_play.user.js
Created August 17, 2012 08:40
ドットインストールとかいうサイトの動画を自動再生
// ==UserScript==
// @name dotinstall auto play
// @description Youtube Player API使った(autoplay=1になってない)動画を自動再生のURLに置換する
// @include http://dotinstall.com/lessons/*
// ==/UserScript
/* 1クリックが面倒くさい… */
window.addEventListener('load', function() {
var player = document.getElementById('youtube_api_player');
if (player && player.src.indexOf('autoplay=1') == -1) player.src += '&autoplay=1';
@syoichi
syoichi / textarea-character-count.user.js
Created June 17, 2012 06:31 — forked from motemen/textarea-character-count.user.js
エラーの発生、インジケーターの表示がずれるのを修正した。また、arguments.calleeとsetInterval、getBoundingClientRectを使わないようにし、アニメーションはCSS Transitionsで行うようにした。さらに、原稿用紙への切り替えはインジケーターのクリックでできるように変更した。そして、文字数のカウントをサロゲートペアに対応させた。
// ==UserScript==
// @id textarea character count
// @name textarea character count
// @namespace http://tokyoenvious.net/
// @author motemen
// @version 0.0.1
// @update 2012-06-17T15:44:53.818Z(GMT+09:00)
// @description テキストエリアの文字数をカウントする。
// @include http://*
// @include https://*
@Griever
Griever / Zen2Han.js
Created May 22, 2012 14:01
全角英数を半角英数にするBookmarklet
javascript:/*Zenkaku-Hankaku*/(function(doc){
var zen = /[\u3000\uFFE5\uFF01-\uFF5E]/g;
var arr = ['contains(.,"\u3000")','contains(.,"\uFFE5")'];
for (var i = 0xFF01; i < 0xFF5E; ++i) {
arr.push('contains(.,"' + String.fromCharCode(i) + '")');
}
var xpath = '//text()[(' + arr.join(' or ') + ') and not(ancestor::style) and not(ancestor::script)]';
@Griever
Griever / abp_jp2urlfilter.ini.js
Created February 22, 2012 09:12
Adblock のフィルタを urlfilter.ini に変換する
javascript:(function(){
/*
Adblock のフィルタを urlfilter.ini に変換する
ついてに広告カット CSS も作成
https://adblock-plus-japanese-filter.googlecode.com/hg/abp_jp.txt で実行
|| で始まる行は http, https の2行に、^ は "/*" に、$のある行はスルー。
CSS は -moz-document を使っている部分があるので Opera では前半のみ利用可能
*/