Pixel Art filter

    
      
  • /*
     * @title Pixel Art filter
     * @description Convert all website to like Game Boy.
     * @include http://*
     * @require 
     */
    
    
    javascript:(function(_d,s,r){
    		s=_d.createElement('style');
    		s.type='text/css';
    		r=_d.getElementsByTagName('head')[0]||_d.documentElement;
    		s.textContent='body{filter: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiPjxkZWZzPjxmaWx0ZXIgaWQ9IlBBZmlsdGVyX2xpdGUiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxmZUNvbG9yTWF0cml4IGluPSJTb3VyY2VHcmFwaGljIiB0eXBlPSJsdW1pbmFuY2VUb0FscGhhIiByZXN1bHQ9IkJXIi8+PGZlQ29tcG9uZW50VHJhbnNmZXIgaW49IkJXIiByZXN1bHQ9ImExIj48ZmVGdW5jQSB0eXBlPSJkaXNjcmV0ZSIgdGFibGVWYWx1ZXM9IjEsMSwxLDEsMSwxLDAsMCIvPjwvZmVDb21wb25lbnRUcmFuc2Zlcj48ZmVDb21wb25lbnRUcmFuc2ZlciBpbj0iQlciIHJlc3VsdD0iYTIiPjxmZUZ1bmNBIHR5cGU9ImRpc2NyZXRlIiB0YWJsZVZhbHVlcz0iMSwxLDEsMSwwLDAsMSwxIi8+PC9mZUNvbXBvbmVudFRyYW5zZmVyPjxmZUNvbXBvbmVudFRyYW5zZmVyIGluPSJCVyIgcmVzdWx0PSJhMyI+PGZlRnVuY0EgdHlwZT0iZGlzY3JldGUiIHRhYmxlVmFsdWVzPSIxLDEsMSwwLDEsMSwxLDEiLz48L2ZlQ29tcG9uZW50VHJhbnNmZX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hNiIgb3BlcmF0b3I9Im91dCIgcmVzdWx0PSJiNiIvPjxmZU1lcmdlIHJlc3VsdD0iaW1nIj48ZmVNZXJnZU5vZGUgaW49ImIxIi8+PGZlTWVyZ2VOb2RlIGluPSJiMiIvPjxmZU1lcmdlTm9kZSBpbj0iYjMiLz48ZmVNZXJnZU5vZGUgaW49ImI0Ii8+PGZlTWVyZ2VOb2RlIGluPSJiNSIvPjxmZU1lcmdlTm9kZSBpbj0iYjYiLz48L2ZlTWVyZ2U+PGZlQ29tcG9uZW50VHJhbnNmZXIgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9ImFsIj48ZmVGdW5jQSB0eXBlPSJkaXNjcmV0ZSIgdGFibGVWYWx1ZXM9IjAsMSwxLDEiLz48L2ZlQ29tcG9uZW50VHJhbnNmZXI+PGZlQ29tcG9zaXRlIGluPSJpbWciIGluMj0iYWwiIG9wZXJhdG9yPSJpbiIvPjwvZmlsdGVyPjwvZGVmcz48L3N2Zz4=#PAfilter_lite");}html{background-color: #c2de78;}';
    		return r.appendChild(s).s
    	})
    (document);
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2012/07/23 06:48:55 - 2012-07-23