コード
(function(d){
var E=d.createElement,
T=d.createTextNode,
I=d.getElementsByTagName('img'),
r=E('div'),
A=function(r,e){r.appendChild(e)},
e,i=0;
A(r,T('画像一覧'));
A(r,e=E('a'));
A(e,T('×'));
e.onclick=function(e,d){return function(){
d.body.removeChild(e)
}}(r,d);
A(r,E('hr'));
for(;i<I.length;i++){
A(r,T(i+1+'.'));
A(r,e=E('img'));
e.src=I[i].src;
A(r,E('br'))
}
with(r.style){
position='fixed';
top='5px';
left='5px';
zIndex=10000;
width='300px';
height='400px';
border='1px solid black';
padding='3px';
backgroundColor='white';
color='black';
overflow='scroll'
}
A(d.body,r)
})(document)