speed reading speedup

    @@ -3,9 +3,15 @@ * @description 速読ウェブサービス hitode909.appspot.com/speed_reading スクロールスピード変更 * @include http://hitode909.appspot.com/speed_reading/ * @license MIT License - * @require + * @javascript_url */ // for http://hitode909.appspot.com/speed_reading/ -document.querySelector('marquee').scrollAmount = window.prompt("speed", ""); +(function () { + var line = document.querySelectorAll('marquee'); + var speed = window.prompt("speed", ""); + [].forEach.call(a, function (n) { + n.scrollAmount = speed + }); +})()
  • /*
     * @title speed reading speedup
     * @description 速読ウェブサービス hitode909.appspot.com/speed_reading スクロールスピード変更
     * @include http://hitode909.appspot.com/speed_reading/
     * @license MIT License
     * @javascript_url
     */
    
    // for http://hitode909.appspot.com/speed_reading/
    
    (function () {
    	var line = document.querySelectorAll('marquee');
    	var speed = window.prompt("speed", "");
    	[].forEach.call(a, function (n) {
    		n.scrollAmount = speed
    	});
    })()
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2014/03/19 09:23:35 - 2014-03-19
  2. 2014/03/19 09:23:04 - 2014-03-19
  3. 2014/03/19 09:16:27 - 2014-03-19
  4. 2014/03/19 09:15:59 - 2014-03-19