Rate it!
[Edit Description]
Links Only does the simple task of extracting all the links on a Web page and showing them on a separate popup window. Not a great work.The bonus is that they appears well formatted. Each link in the list shows in clear the original clickable text, the popup appearing under the mouse, the link address (http://...) or - in the case it's a bookmarklet - the bookmarklet code in a readable form.If you now click Links Only on this page... it will show, besides all the other links, also its own code!Works with framed pages, if the frames belong to the same domain.Tested on Firefox 3.5 and Safari 4.0.
Source (no.web.site)
[Edit Javascript]
Show Source Code
javascript%3Afunction%20j%28l%29%7Bvar%20h%3Dl.href%2Ci%3Dl.attributes.href.value%3Bif%28h%3D%3Di%29return%20h%3Bvar%20H%3Ddocument.location.href%2CB%3DH.substr%280%2CH.lastIndexOf%28%27/%27%29+1%29%2CL%3DB.length%2Cm%3Bif%28h.length%3EL%29%7Bif%28h.substr%280%2CL%29%3D%3DB%29%7Bm%3Dh.substr%28L%29%3Bif%28m.indexOf%28%27javascript%3A%27%29%3D%3D0%29return%20m%7D%7Dreturn%20h%7Dfunction%20e%28s%2Cz%29%7Bvar%20t%3Ds.toString%28%29%2Ci%2Cf%3D%27%3C%2C%5Cx26lt%3B%2C%5Cx253C%2C%3E%2C%5Cx26gt%3B%2C%5Cx253E%2C%5C%27%2C%5Cx26%2339%3B%2C%5Cx2527%2C%22%2C%5Cx26%2334%3B%2C%5Cx2522%27.split%28%27%2C%27%29%3Bif%28t.indexOf%28%27javascript%3A%27%29%3D%3D0%26%26z%3D%3D1%29%7Bt%3Dunescape%28t%29%7Dif%28t.indexOf%28%27http%3A//%27%29%21%3D0%29for%28i%3D0%3Bi%3Cf.length%3Bi+%3D3%29t%3Dt.split%28f%5Bi%5D%29.join%28f%5Bi+z%5D%29%3Breturn%20t%7Dfunction%20s%28t%29%7Bfor%28var%20z%3Dt.text%2Ci%3D0%2Cz%3Dz%3Fz%3At.innerText%3Ft.innerText%3At.textContent%3Ft.textContent%3A%27%27%3Bi%3Cz.length%3Bi++%29if%28%27%20%5Cr%5Cn%27.indexOf%28z.charAt%28i%29%29%3C0%29return%20z%3Breturn%20%27***%27%7Dfunction%20K%28W%2Cw%29%7Bvar%20d%3DW.document%3Bif%28d%29%7Bvar%20L%3Dd.links%2Ct%3Dd.title%2Ci%2Cl%2CM%3DL.length%2CF%3DW.frames%3Bif%28M%3E0%29%7Bw.write%28%27%3Ch4%3ETitle%3A%20%27+t+%27%3Cbr%3EURL%3A%20%27+d.URL+%27%3Cbr%3ELinks%3A%20%27+M+%27%3C/h4%3E%3Col%3E%27%29%3Bfor%28i%3D0%3Bi%3CM%3Bi++%29%7Bl%3DL%5Bi%5D%3Bif%28l.onmouseover%29try%7Bl.onmouseover%28%29%7Dcatch%28r%29%7B%7Dw.write%28%27%3Cli%3E%3Ca%20href%3D%5C%22%27+e%28j%28l%29%2C2%29+%27%5C%22%3E%27+e%28s%28l%29%29+%28l.title%26%26l.title%21%3Ds%28l%29%3F%27%3Cbr%3E%28%27+e%28l.title%2C1%29+%27%29%27%3A%27%27%29+%27%3C/a%3E%3Ci%3E%27+e%28j%28l%29%2C1%29+%27%3C/i%3E%3C/li%3E%27%29%7Dw.write%28%27%3C/ol%3E%27%29%7D%7Dif%28F%26%26F.length%29for%28i%3D0%3Bi%3CF.length%3Bi++%29K%28F%5Bi%5D%2Cw%29%7Dw%3Dopen%28%27%27%2C%27%27%2C%27width%3D550%2Cheight%3D700%2Cscrollbars%2Cresizable%27%29%3Bk%3Dw.document%3Bk.write%28%27%3Cstyle%3Ebody%7Bfont-family%3Asans-serif%7Dli%7Btext-indent%3A-.4em%7Di%7Bdisplay%3Ablock%3Bfont-size%3A75%25%3Bmargin-bottom%3A3px%3Btext-indent%3A0%7D%3C/style%3E%27%29%3Bk.close%28K%28window%2Ck%29%29%3Bvoid%28setTimeout%28%27w.focus%28%29%27%2C99%29%29
links web development javascript content