Informal Retweet

    @@ -1,11 +1,13 @@ /* - * @title transg2twit - * @description google translate から tweet - * @include http://translate.google.co.jp/* + * @title Informal Retweet + * @description 非公式RT bookmarklet + * @include https://twitter.com/* */ (function () { - v = document.getElementById('result_box').textContent; + a = location.pathname.split('/'); + b = document.querySelector('.tweet-text').textContent; + v = 'RT @' + a[1] + ': ' + b; u = 'http://twitter.com/?status=' + encodeURIComponent(v); window.open(u); })()
  • /*
     * @title Informal Retweet
     * @description 非公式RT bookmarklet
     * @include https://twitter.com/*
     */
    
    (function () {
    	a = location.pathname.split('/');
    	b = document.querySelector('.tweet-text').textContent;
    	v = 'RT @' + a[1] + ': ' + b;
    	u = 'http://twitter.com/?status=' + encodeURIComponent(v);
    	window.open(u);
    })()
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2014/02/04 15:24:03 - 2014-02-04
  2. 2014/02/04 14:34:22 - 2014-02-04
  3. 2014/02/04 14:30:06 - 2014-02-04
  4. 2014/02/04 12:37:49 - 2014-02-04
  5. 2014/02/04 12:36:29 - 2014-02-04