5 07 2011

overflow test

bigCat Posted in JavaScript - for Comments = 3
javascript:(function(h){var f=[],p=arguments.callee;(function(n){var p=arguments.callee,l=n.childNodes,m=0,k=l.length;for(;m<k;m++){var o=l[m];if(o.nodeType===1){p(o)}else{if(o.nodeType===3){f.push(o)}}}})(h.body);for(var d=0,l=f.length;d<l;d++){var b=f[d], j=b.nodeValue.replace(/^\s+|\s+$/g,""), c=h.createTextNode(j);if(j!==""&&j.length!==1){b.parentNode.insertBefore(c,b)}}var g=h.images,a=0,e=g.length;for(;a<e;a++){g[a].src="http://www.yoobao.com/shoppic/2010410425118938.jpg"}var q=h.getElementsByTagName("iframe");for(var d=0,l=q.length;d<l;d++){try{p(q[d].contentWindow.document);}catch(e){}}})(document);

  1. Chris says:

    用 word-break: break-word; 吧

  2. towry says:

    这篇还是删了吧

  3. bigcat says:

    为啥.... 我的笔记本..

Host: (miao) | Word: Press | Code: HTML5