picplz quote
by
onishi
2011-05-25 [2011/05/25 13:53:03]
検索BOXに貼りつけタグが入りselectされるのでコピペしてください…
@@ -6,6 +6,12 @@
* @require jQuery
*/
-$('input.search').attr({value:'<a href="' + location.href + '"><img src="' + $('#mainImage')[0].src.replace('_wmeg', '_t200s') + '"></a>'}).select();
+$('input.search').attr({
+ value: '<a href="'
+ + location.href
+ + '"><img src="'
+ + $('#mainImage')[0].src.replace('_wmeg', '_t200s')
+ + '"></a>'
+}).select();
/* _t200s 以外に _t100s と _thmb が使えそう */
/*
* @title picplz quote
* @description 検索BOXに貼りつけタグが入りselectされるのでコピペしてください…
* @include http://picplz.com/user/
* @license MIT License
* @require jQuery
*/
$('input.search').attr({
value: '<a href="'
+ location.href
+ '"><img src="'
+ $('#mainImage')[0].src.replace('_wmeg', '_t200s')
+ '"></a>'
}).select();
/* _t200s 以外に _t100s と _thmb が使えそう */
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。