みてるなう

    
      
  • /*
     * @title みてるなう
     * @description こっちは#以降をエスケープしない方です.考えられる問題点としてはその人のみの個人ページなどに他の人がアクセスできてしまう可能性があります.(shebangを利用したそんなwebサイトをみたような気がする) わかんない人はこっち http://let.hatelabo.jp/uzuky/let/hJmcpOaortB1 を使ってください
     * @include http://*
     * @license MIT License
     */
    
    javascript: (function(){
    	var c = prompt('コメントを入力してください','みてるなう');
    	if(c == null){
    		return0;
    	} else {
    		if (c!=''){
    			c = c + ' / '
    		}
    		var f = 'https://twitter.com/intent/tweet?original_referer=' + encodeURIComponent(document.location) + '&text=' + encodeURIComponent(c + document.title) + '&url=' + encodeURIComponent(document.location);
    		open(f, '_blank', 'width=550,height=400,scrollbars=1');
    	};
    })()
    
    
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2013/09/16 20:41:08 - 2013-09-16
  2. 2013/09/16 20:39:46 - 2013-09-16