!link

  • /*
     * @title !link
     * @description toggle enable/disable links
     * @include http://*
     * @include https://*
     * @license MIT License http://nrm.mit-license.org/2013
     * @require 
     */
    
    (function (doc) {
        var id = '-bookmarklet-disable-link-';
        var style = doc.getElementById(id);
        if (style) {
            style.parentNode.removeChild(style);
            return;
        }
        style = doc.createElement('style');
        style.id = id;
        style.textContent = 'a[href] { pointer-events: none; }';
        doc.head.appendChild(style);
    })(document);
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2013/01/29 00:04:46 - 2013-01-29
  2. 2013/01/29 00:02:14 - 2013-01-29