Bookmarklet Creator

0•

Generates browser-executable JavaScript bookmarklets with automatic formatting, protocol prefixing, and robust error handling.

The Bookmarklet Creator skill streamlines the development of browser-based utilities by enforcing strict formatting standards required for reliable execution in the browser toolbar. It automatically wraps code in Immediately Invoked Function Expressions (IIFEs), ensures the exclusive use of block comments to prevent execution failures, and prepends the 'javascript:' protocol for immediate installation. This skill is ideal for developers building custom browser tools for DOM manipulation, data extraction, and workflow automation without the overhead of building full browser extensions.

Key Features

010 GitHub stars
02Built-in error handling and user feedback patterns (alerts and logs)
03Automatic IIFE wrapping for clean scope isolation
04Strict block comment enforcement to prevent script execution breaks
05Support for dynamic library loading via CDN for advanced functionality
06Pre-prepended 'javascript:' protocol for direct copy-paste installation

Use Cases

01Developing custom browser-based utilities for content management and clipboard operations
02Building productivity shortcuts for frequent DOM manipulations and styling
03Creating quick web scraping tools to extract data from the current page