GREE Social Feedback
by
asannou
2010-09-13 [2010/09/13 15:29:00]
見ているサイトをGREEのユーザー間で簡単に共有します
@@ -14,3 +14,4 @@
features+=", height="+height;}
window.open(url,'greeShareWindow',features);}
openShareWindow(location.href,585,420);
+return false;
/*
* @title GREE Social Feedback
* @description 見ているサイトをGREEのユーザー間で簡単に共有します
* @include http://*
* @license MIT License
* @require
*/
function openShareWindow(url,width,height){var features="location=no, menubar=no, toolbar=no, status=yes";if(width){if(screen.width>width){features+=", left="+(screen.width-width)/2;}
else{width=screen.width;}
features+=", width="+width;}
if(height){if(screen.height>height){features+=", top="+(screen.height-height)/2;}
else{height=screen.height;}
features+=", height="+height;}
window.open(url,'greeShareWindow',features);}
openShareWindow(location.href,585,420);
return false;
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。