= { inception: "" } inception * { background: url() } var inception; function url(){}; document.write('<'+'link href="#" rel="stylesheet">'); // /**

Polyglot Inception4

JPEG = CSS = JS = HTML

A four-fold inception and "polyglot". It is an image, style sheet, script and document all at the same time!

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

Levels of Inception

  1. Browser loads page as index.html
  2. HTML contains <script src="#"> tag
  3. Script writes <link href="#">
  4. Stylesheet renders background: url()

Created by Martin Kleppe, aka @aemkei. Share it on Twitter if you like it. For other creative hacks, visit aem1k.com.

How Does it Work?

Related Projects

Polyglot Inception: JPEG = CSS = JS = HTML

Image Data:

C/ #)#/)&)52/8GvLGAAGgmUvˢC255G>GLL¥ }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?R#P(r=~Tbz{MEm1ڌjUG=1#g@G0#ڐ P+OP>j@_hܟbG(>m'X 3;t^( €E\붍@M~6}@ ܟѨ })]oSiFO~TQq UEad4LB=w='N€~T񴎃b}@ _AP}#(x4f Ph'az{L?3C,.v z*= *5fHɭ@Ƥt1A-vy8(R8S<ڱ01n-DK'(y`9<4vhu+|"`A\qȞZ w n8$bW(p0(,b#ӕP M0";\4(6i4p3RƆX} l~EMD9?U.u?&5OL'x=v)Dr/ 14x?TI?[ Rb ( (r6 &1DW ( r &[۹VDǶ3P4Rtc\A9!Y/Fqa'(b' ?Ҁ34};zZ}o ,4 mJg~`!89>0{F vi4Jb ( P@ ^PØT 10 (|g֓.T2@+7~iݒ5H †^ކĐC`&(hh M{Hp=) ?Z r6a'(DMX 7$(P@ ( (Zx?{Hc(PS (Wnds{=>D>`iuAL4iP@ @ Q@1]NJ @-d}׌lSPG4Dl ŽiJb (P@P@P0Pi (PS U) cN HIƗ$zN¸  @ ҐN8TJ @!$i(udT֠ZhUaH(%P@P0ڐ (1@(&(&)P v%?CeX:UJ` @Lc xbn  F{b.)T .({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