"123abc".match(/abc|3ab/) /* 3ab */
文字列の先頭から検索が始まり、マッチすると途中で検索が終わる。
[123]abc abc? NO. 3ab? NO.
1[23a]bc abc? NO. 3ab? NO.
javascript:(function(b){b=/\(\x22?([^\x22|\)]+)/. | |
exec(getComputedStyle(document.body,'').backgroundImage); | |
b=b?b[1]:document.body.background;b&&open(b,'_blank');})(); |
javascript:(function(c,z,Z,m,s){ | |
c = function(e,r,c){ | |
r = function(){ return (Math.random()*256^0) }; | |
c = function(c){ return ( "rgb(" + (c = r()) + "," + c + "," + c + ")") }; | |
e.style.backgroundColor = e.style.color = c(); | |
}; | |
z = function(E,e,i,t,j,S,s){ | |
for( e = E.childNodes, i = 0; i < e.length; i++){ | |
if( | |
( e[i].nodeType == 3 || e[i].nodeType == 4 ) |
// ==UserScript== | |
// @name favstar the favotter style | |
// @include http://favstar.fm/* | |
// ==/UserScript== | |
(function() { | |
var tweetContainers = | |
document.evaluate('.//div[@class="tweetContainer"]', document, null, 5, null); | |
var tweetContainer; | |
while (tweetContainer = tweetContainers.iterateNext()) { |
// Unassigned Screen Names on Twitter | |
["12", "16", "1k", "1m", "21", "2a", "2i", "2q", "43", "4g", "4l", "4v", "5p", "5v", "65", "6d", "6m", "6u", "6w", "77", "7c", "7f", "7l", "7m", "7s", "7u", "8f", "8h", "8q", "91", "97", "9e", "9f", "9k", "9l", "9q", "9u", "9w", "9y", "0q", "0t", "0u", "ca", "cl", "cu", "dq", "e0", "el", "fl", "ga", "gi", "gu", "il", "im", "iu", "lf", "ms", "nd", "nj", "nl", "no", "np", "nv", "or", "pa", "pw", "q8", "qa", "r1", "r2", "r0", "rg", "ri", "s3", "sm", "t6", "u2", "u6", "ua", "um", "ut", "va", "vt", "wc", "wi", "wt", "wv", "wy", "xl", "yp", "z3", "zp"] |
javascript:for(i=0;confirm(++i%3>/3/(i)?i:i+"(・∀゚)");); | |
javascript:for(i=0;confirm(++i%3&&!/3/(i)?i:i+"(・∀゚)");); | |
javascript:for(i=0;confirm(++i+(i%3&&!/3/(i)?0:"(・∀゚)"));); | |
javascript:for(i=0;confirm(++i+(i%3<1||/3/(i)?"(・∀゚)":0));); |
javascript:for(s="";!s[139];) | |
s+=String.fromCharCode(12353+Math.random()*82); | |
alert(s) |
@import "user.css"; | |
[id *= "headerBanner"], | |
#secondary, | |
#sub, | |
#footer { | |
display: none !important; | |
} | |
#wrapper, | |
#primary, |
// Spigot Algorithm | |
// http://www14.ocn.ne.jp/~kk62526/pi/Spigot.html | |
javascript: | |
for(a=[],c=52514,f=1e4,d=h=0;b=c-=14; | |
document.write("<li>",("000"+(e+d/f|0)).slice(h=-4))) | |
for(e=d%=f;g=--b*2;d=d/g|0)d=d*b+f*(h?a[b]:f/5),a[b]=d%--g |
.round { | |
border-radius: 5px !important; | |
} | |
.round-left { | |
border-radius: 5px 0 0 5px !important; | |
} | |
.round-right { | |
border-radius: 0 5px 5px 0 !important; | |
} |