101.jpg.to

  • /*
     * @title 101.jpg.to
     * @description jpg.to countup (Forked)
     * @license MIT License
     * @contributor taizooo http://let.hatelabo.jp/taizooo/let/gYC-yqXmm9uVag (Fork of)
     */
     
    // FIXME go to wrong url. no problems when you use Debuglet
    //       => Resource interpreted as Document but transferred with MIME type image/gif:
    //       => "http://businessnewstoday.us/wp-content/uploads/2011/09/0-PERCENT.gif".
    (function () {
      var n;
      if (!(n = (/(\d+)\.jpg\.to/.exec(location.hostname) || [])[1])) {
        // XXX http://0.jpg.to/ invalid request or response?
        //     Response Headers => Location: http://businessnewstoday.us/wp-content/uploads/2011/09/0-PERCENT.gif
        location.href = 'http://0.jpg.to/';
        return; // for Fx
      }
      //var x = parseInt(n, 10) + 1;
      var x = Number(n) + 1;
    
      location.href = 'http://' + x + '.jpg.to';
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2012/08/17 09:14:18 - 2012-08-17
  2. 2012/08/17 09:11:43 - 2012-08-17
  3. 2012/08/17 09:10:24 - 2012-08-17