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== | |
// @include * | |
// ==/UserScript== | |
/* このスクリプトは Opera 10.10 をクラッシュさせるので使用禁止 */ | |
window.addEventListener("DOMContentLoaded", function() { | |
var texts = document. | |
evaluate(".//text()[contains(self::text(),'ttp') and not(ancestor::a) and not(ancestor::textarea) and not(ancestor::script)]", | |
document.body, null, 7, null); |
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
http://twitter.com/m_satyr/status/13263591680 | |
"javascript:location=location.href.replace(/^(\w+:\/+)[^.]+.(?!.*\/.)|.[^/]+.?$/,'$1')" |
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
// | |
// Secure Delete SendToTarget | |
// | |
if (WScript.arguments.length > 0) { | |
var wsh = WScript.createObject("WScript.Shell"); | |
var fso = WScript.createObject("Scripting.FileSystemObject"); | |
// | |
// 引数を配列にする | |
// | |
for (var wsh_args = [], i = 0; i < WScript.arguments.length; ++i) { |
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
#include <windows.h> | |
// | |
// メインウィンドウプロシージャ | |
// | |
LRESULT CALLBACK mainWndProc(HWND hwnd, UINT msg, WPARAM wp, LPARAM lp){ | |
HDC hdc; | |
char c[512]; | |
switch(msg){ | |
case WM_MOUSEMOVE: | |
hdc = GetDC(hwnd); |
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
javascript: navigator.geolocation.getCurrentPosition(function(p) { | |
location.href = "http://maps.google.com/maps?q=" + | |
p.coords.latitude + "," + p.coords.longitude; }); |
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 Google Suggest Fix for Opera | |
// @include http://www.google.com/* | |
// @include http://www.google.co.jp/* | |
// ==/UserScript== | |
addEventListener("keypress", function(v) { | |
if (v.target.name === "q" && (v.keyCode === 38 || v.keyCode === 40) && | |
!v.shiftKey) v.preventDefault(); | |
}, 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 Twitter Prompt | |
// @include http://mobile.twitter.com/+ | |
// @description Tweet via window.prompt | |
// ==/UserScript== | |
/* Bookmarklet */ | |
if (false) { | |
javascript: (function(s, t) { | |
if (s = prompt('いまどうしてる?', s)) confirm((t = s.slice(0, 140)) + |
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 Twitter Prompt | |
// @include http://twitter.com/share?url=www.u.js | |
// @description Tweet via window.prompt | |
// ==/UserScript== | |
/* Bookmarklet */ | |
if (false) { | |
javascript: (function(s, f, t, m, l) { | |
if (s = prompt('いまどうしてる?', s)) { |
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
@import "user.css"; | |
#header, | |
.site { | |
overflow: visible !important; | |
min-width : 0 !important; | |
} | |
.secondary { | |
float: none !important; | |
width: auto !important; | |
} |