where-page-in-slide

    @@ -19,7 +19,7 @@ // c.f. http://let.hatelabo.jp/noromanba/let/hJmehqPZh6wf var require = function (urls) { - urls.forEach(function (u) { + Array.prototype.slice.call(urls).forEach(function (u) { var scr = document.createElement("script"); scr.src = u; document.body.appendChild(scr); @@ -45,4 +45,4 @@ // LGTM use w/ slideshare_scroll.user.js // http://d.hatena.ne.jp/rikuba/20120922/1348298638 -// https://gist.github.com/rikuba/3765455 +// https://gist.github.com/rikuba/3765455
  • /*
     * @title where-page-in-slide
     * @description append current page number to URL
     * @include http://*
     * @include https://*
     * @contributor efcl        http://let.hatelabo.jp/efcl/let/hJmehf2N-chp (Fork of)
     * @contributor taizooo     http://let.hatelabo.jp/taizooo/let/gYC-xpPIvJP5Lg
     * @contributor noromanba   http://let.hatelabo.jp/noromanba/let/hJmehqPZh6wf
     * @license MIT License
     * @javascript_url
     *
     */
    
    // TEST
    // https://speakerdeck.com/speakerdeck/introduction-to-speakerdeck
    //
    // <at>javascript_url; over the mixed-content-blocking
    // http://let.hatelabo.jp/help#at-javascript_url
    
    // c.f. http://let.hatelabo.jp/noromanba/let/hJmehqPZh6wf
    var require = function (urls) {
        Array.prototype.slice.call(urls).forEach(function (u) {
            var scr = document.createElement("script");
            scr.src = u;
            document.body.appendChild(scr);
        });
    };
    
    // TBD omit browserified code calling and require libs/*.js on Bookmaklet
    // https://github.com/azu/where-page-in-slide
    require([
        // XXX load from CDN e.g. gh-pages
        "//raw.githubusercontent.com/azu/where-page-in-slide/master/where-page-in-slide.js"
    ]);
    
    // c.f.
    // browserify
    //  http://browserify.org
    //  http://efcl.info/2014/07/21/Greasemonkey-v2/
    // mixed-content, <at>javascript_url
    //  https://gist.github.com/noromanba/7015739
    //  http://space.hatena.ne.jp/wakabatan/entry/14290001378109041046
    //  http://space.hatena.ne.jp/wakabatan/entry/14290001378109038479
    //  http://let.hatelabo.jp/help#at-javascript_url
    
    // LGTM use w/ slideshare_scroll.user.js
    //  http://d.hatena.ne.jp/rikuba/20120922/1348298638
    //  https://gist.github.com/rikuba/3765455
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2014/09/02 03:57:16 - 2014-09-02
  2. 2014/09/02 03:51:02 - 2014-09-02
  3. 2014/09/02 03:21:44 - 2014-09-02
  4. 2014/09/02 03:14:09 - 2014-09-02
  5. 2014/09/02 03:06:23 - 2014-09-02
  6. 2014/09/02 02:32:29 - 2014-09-02