Skip to content

Instantly share code, notes, and snippets.

@kurumigi
Created May 18, 2009 12:50
Show Gist options
  • Save kurumigi/113450 to your computer and use it in GitHub Desktop.
Save kurumigi/113450 to your computer and use it in GitHub Desktop.
[searchDef of "Greased Lightbox"]toranoana
// toranoana
{
name : 'toranoana',
includeRegExp : /^http:\/\/www.toranoana.jp\/mailorder\/article\/\d{2}\/\d{4}\/\d{2}\/\d{2}\/\d{12}\.html$/i,
linkRegExp : /^javascript:popUpWindow/,
findImageRegExp : /^(http:\/\/img.toranoana.jp\/)(img(?:18)?\/\d{2}\/\d{4}\/\d{2}\/\d{2}\/\d{12}-\d)\.gif$/i,
replaceString : '$1popup_$2p.jpg',
showFunction : function(event) { greasedLightbox.showFrom(event, 'toranoana'); return false; }
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment