shut up Star-Comments

    @@ -1,15 +1,34 @@ /* - * @title Shut up Star-Comments - * @description Turn off Hatena::Star-Comments + * @title shut up Star-Comments + * @description turn off HatenaStar-Comment container * @include http://* * @include https://*.hatena.tld/* - * @license MIT License http://nrm.mit-license.org/2012 - * @author noromanba (https://flavors.me/noromanba) - * @require https://userscripts.org/scripts/source/151678.user.js + * @license MIT License https://nrm.mit-license.org/2012 + * @javascript_url */ -// Devel -// https://gist.github.com/4013032 - // UserScript -// https://userscripts.org/scripts/show/151678 +// https://gist.github.com/noromanba/4013032 + + +// c.f. +// https://s.hatena.ne.jp/help#section5 +// https://www.hatena.ne.jp/help/star/help#section5 +(() => { + // http://let.hatelabo.jp/noromanba/let/hJmehqPZh6wf + const require = (urls) => { + return Array.from(urls, url => { + const script = Object.assign(document.createElement('script'), { + src: url, + }); + document.body.appendChild(script); + + return script; + }); + }; + + require([ + 'https://cdn.rawgit.com/noromanba/4013032/raw/shutup-star-comments.user.js', + ]); +})(); +
  • /*
     * @title shut up Star-Comments
     * @description turn off HatenaStar-Comment container
     * @include http://*
     * @include https://*.hatena.tld/*
     * @license MIT License https://nrm.mit-license.org/2012
     * @javascript_url
     */
    
    // UserScript
    // https://gist.github.com/noromanba/4013032
    
    
    // c.f.
    // https://s.hatena.ne.jp/help#section5
    // https://www.hatena.ne.jp/help/star/help#section5
    (() => {
        // http://let.hatelabo.jp/noromanba/let/hJmehqPZh6wf
        const require = (urls) => {
            return Array.from(urls, url => {
                const script = Object.assign(document.createElement('script'), {
                    src: url,
                });
                document.body.appendChild(script);
    
                return script;
            });
        };
    
        require([
            'https://cdn.rawgit.com/noromanba/4013032/raw/shutup-star-comments.user.js',
        ]);
    })();
    
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2017/05/24 07:37:06 - 2017-05-24
  2. 2012/11/05 04:23:23 - 2012-11-05
  3. 2012/11/05 03:00:21 - 2012-11-05