Display Fragment ID Bookmarklet

This bookmarklet displays hidden fragment identifiers so you can make use of those anchors.

Source (pastebin.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28e%2Ca%2Cg%2Ch%2Cf%2Cc%2Cb%2Cd%29%7Bif%28%21%28f%3De.jQuery%29%7C%7Cg%3Ef.fn.jquery%7C%7Ch%28f%29%29%7Bc%3Da.createElement%28%22script%22%29%3Bc.type%3D%22text/javascript%22%3Bc.src%3D%22http%3A//ajax.googleapis.com/ajax/libs/jquery/%22+g+%22/jquery.min.js%22%3Bc.onload%3Dc.onreadystatechange%3Dfunction%28%29%7Bif%28%21b%26%26%28%21%28d%3Dthis.readyState%29%7C%7Cd%3D%3D%22loaded%22%7C%7Cd%3D%3D%22complete%22%29%29%7Bh%28%28f%3De.jQuery%29.noConflict%281%29%2Cb%3D1%29%3Bf%28c%29.remove%28%29%7D%7D%3Ba.documentElement.childNodes%5B0%5D.appendChild%28c%29%7D%7D%29%28window%2Cdocument%2C%221.3.2%22%2Cfunction%28%24%2CL%29%7Bvar%2520anchorLetter%3D%22%26para%3B%22%3Bfunction%2520makeAnchor%28a%29%7Breturn%22%3Ca%2520href%3D%27%23%22+encodeURIComponent%28a%29+%22%27%3E%22+anchorLetter+%22%3C/a%3E%22%7D%24%28%22%5Bid%5D%22%29.each%28function%28%29%7Bvar%2520a%3Dthis%3Bvar%2520b%3D%24%28a%29.attr%28%22id%22%29%3B%24%28a%29.prepend%28makeAnchor%28b%29%29%7D%29%3B%24%28%22%5Bname%5D%22%29.each%28function%28%29%7Bvar%2520a%3Dthis%3Bvar%2520b%3D%24%28a%29.attr%28%22name%22%29%3B%24%28a%29.prepend%28makeAnchor%28b%29%29%7D%29%3B%7D%29%3B


Rate it:


Tags:

Comments

Comments so far. Add yours.

Uploader

Source: http://pastebin.com/n5uCf1iQ


Uploader

How to compile the source:

1) Minify the source with http://www.refresh-sf.com/yui/
2) Generate bookmarklet using minified source code with http://benalman.com/code/test/jquery-run-code-bookmarklet/


Uploader

New version: http://pastebin.com/01dv6Hjm