Skip to content

Instantly share code, notes, and snippets.

@Griever
Griever / keyconfigForChrome.user.js
Created April 7, 2009 12:39
古いので使わない方が良いです
// ==UserScript==
// @name keyconfig for Chrome
// @namespace http://d.hatena.ne.jp/Griever/
// @description keyconfig for google chrome
// @author Griever
// @version 1.0
// ==/UserScript==
var func = {
goToParent: function(){
@Griever
Griever / mouseGestureForChrome.user.js
Created April 9, 2009 13:15
古いので使わない方が良いです
// ==UserScript==
// @name Mouse Gestures for Chrome
// @namespace http://d.hatena.ne.jp/Griever/
// @description Mouse gestures for google chrome
// @author Griever
// @version 1.0
// ==/UserScript==
// Original Script
// ==UserScript==
// ==UserScript==
// @name goToUpperDirectory.uc.js
// @namespace http://d.hatena.ne.jp/Griever/
// @include main
// @version 0.0.2
// ==/UserScript==
var upperDirectory = {
about : ['about:', 'about:blank', 'about:buildconfig', 'about:cache', 'about:cache?device=memory',
'about:cache?device=disk', 'about:config', 'about:crashes', 'about:credits', 'about:mozilla',
// ==UserScript==
// @name NotAboutBlank.uc.js
// @namespace http://d.hatena.ne.jp/Griever/
// @include main
// @version 0.0.1
// ==/UserScript==
var notAboutBlank = {
folderName : "",
// 読み込みたいフォルダ名
// ==UserScript==
// @name imitationLightbox
// @description Simple image viewer.
// @namespace http://d.hatena.ne.jp/Griever/
// @author Griever
// @gist https://gist.github.com/103061
// @license MIT License
// @compatibility Firefox 4, Chrome, Opera 11.50
// @include http://*
// @include https://*
// ==UserScript==
// @name Delayed_Document_Write_Execution.js
// @namespace http://d.hatena.ne.jp/Griever/
// @include http://*
// @exclude http://*cgiboy.com/*
// @exclude http://mail.google.com/a/livedoor.com/*
// ==/UserScript==
(function(){
var lastScriptElement = null;
@Griever
Griever / tangoriki.css
Created May 13, 2009 15:02
単語力用 CSS
a.word {
display: inline-block !important;
width: 140px !important;
}
.submenu {
background-color: transparent !important;
border:none !important;
position:static !important;
visibility:visible !important;
@Griever
Griever / Jetpack_for_in.js
Created May 23, 2009 07:07
Jetpack オブジェクトを for in で取得した物
Jetpack = {
tabs : {
focused : [Browser Tab],
open : function open(url) {
var browserWindow = windows.focused;
return browserWindow.addTab(url);
},
toString : function toString() {
return "[Tabs]";
},
@Griever
Griever / Jjetpack_this.js
Created May 23, 2009 08:36
Jetpack のスクリプト内で this のプロパティを for in で取得してみた
/*
jetpack.tabs.focused.contentWindow.alert(this);//[object Sandbox]
for (var n in this)
*/
{
location : file:///C:/test.js,
console : [object Object],
$ : function (selector, context) {
return new (jQuery.fn.init)(selector, context);
},
// ==UserScript==
// @name OperaActions.uc.js
// @namespace http://d.hatena.ne.jp/Griever/
// @include main
// @note keyconfigなどで呼び出して使う予定
// @version 10/28 fastForward の「次へ」のチェックを正規表現から前方一致に変更。
// ==/UserScript==
// @version 10/10 wand を追加。それに伴い fastForward を強化
if (typeof opera == 'undefined') var opera = { toString : function(){ return "[object OperaActions]" } };