Skip to main content
Site migration from WP to 11ty in progress. Some things may be temporarily broken.
{the} Amy Carney

bookmarklet

While working on a list filtering and sorting project for the librarians at work, I wrote a bookmarklet to help me count how many links were showing up so I could verify that the correct databases were being displayed.

javascript:(function(){alert((document.getElementsByTagName('li')).length-139);})();

Basic? Yes. Necessary? Absolutely! As I preach often... automation is the key to the salvation of our time.

(In case you're wondering... 139 is how many links are on the template page that I was working in. Don't judge me. That's a whole OTHER issue our library has to work on someday in the future.)