JS Bookmarklets

Out of context: Reply #4

  • Started
  • Last post
  • 9 Responses
  • zaq0

    javascript:(function(){function I(u){var t=u.split('.'),e=t[t.length-1].t... {gif:1,jpg:1,jpeg:1,png:1,mng:1... hE(s){return s.replace(/&/g,'&').replace(/>/g,'&gt;').replace(/</g,'&lt;').replace(/"/g,'&quot;');}var q,h,i,z=open().document;z.write('<p>Images linked to by '+hE(location.href)+':</p><hr>');for(i=0;q=document.links[i];++i){h=q.href;if(h&&I(h))z.write('<p>'+q.innerHTML+' ('+hE(h)+')<br><img src="'+hE(h)+'">');}z.close();})()

    • linked images on page
      zaq
    • WOW!!!!
      ********
    • that code does not work
      ********
    • The Qoob cuts it down.orrinward2

View thread