gaga booon

  • /*
     * @title gaga booon
     * @description my bookmarklet
     * @include http://*
     * @license MIT License
     * @require 
     */
    
    var gaga = document.createElement('img');
    gaga.src =  "http://monpy.moo.jp/trash_img/gaga.png";
    var wrp = document.createElement('div');
    wrp.style.position = "absolute";
    wrp.style.top = '-283px';
    wrp.style.left = '50%';
    wrp.style.margin-left = '-217px';
    wrp.appendChild(gaga);
    
    var objBody = document.getElementsByTagName("body").item(0);
    objBody.appendChild(wrp);
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2013/11/14 16:18:51 - 2013-11-14