pixiv -modal

  • /*
     * @title pixiv -modal
     * @description hidden welcome-modal on pixiv for non-member
     * @include http://www.pixiv.net/*
     * @license MIT http://opensource.org/licenses/MIT
     * @javascript_url
     */
    
    // UserScript
    // https://gist.github.com/noromanba/1db185e65df3461a8091
    
    (function () {
        if (!/www\.pixiv\.net$/.test(location.hostname)) return;
    
        var addStyle = (function () {
            var parent = document.head || document.body || document.documentElement;
    
            var style = document.createElement('style');
            style.type = 'text/css';
            parent.appendChild(style);
    
            return function (css) {
                style.appendChild(document.createTextNode(css + '\n'));
            };
        })();
    
        addStyle('#register-introduction-modal { display: none !important; }');
    })();
    
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2015/03/01 03:24:33 - 2015-03-01
  2. 2015/02/13 04:02:37 - 2015-02-13
  3. 2015/02/13 02:10:32 - 2015-02-13
  4. 2015/01/21 02:59:11 - 2015-01-21
  5. 2015/01/21 02:50:45 - 2015-01-21