Instantly convert JavaScript code into a browser bookmarklet with a clean, dark-mode friendly interface.
ScriptMark is a simple yet powerful tool for developers and power users to create custom bookmarklets. Whether you want to scrape images, zap annoying elements, or automate tasks, this tool makes it easy to generate, preview, and share your bookmarklets.
- 🌓 Dark/Light Mode - Automatic detection with a manual toggle.
- 🛠️ 12 Built-in Templates - Ready-to-use scripts for common tasks.
- 🖼️ Image Extractor - Extract, filter, and download all images from any page.
- ⚡ Zap Elements - Click to remove unwanted page elements instantly.
- 🔓 Right-Click Enabler - Force enable context menus on restrictive sites.
- 🔎 Visual Inspector - Hover to inspect fonts and colors.
- ♿ Alt Text Checker - Overlay image alt text for accessibility testing.
- 🚀 Performance Check - Quick page speed verification.
- 📝 Live Editor - Edit code and see changes in real-time.
- 🔒 CSP Bypass - Advanced handling for strict Content Security Policies.
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/SamSeenX/scriptmark.git
cd scriptmark
# Install dependencies
npm install
# Run the project
npm run dev- Open the app in your browser (usually
http://localhost:5173). - Select a Template from the list (e.g., "Zap Elements") or write your own code.
- Customize the code in the editor if needed.
- Drag the button "My Bookmarklet" to your browser's bookmarks bar.
- Go to any website and click your new bookmarklet to run it!
| Template | Description |
|---|---|
| Blank Script | A clean slate for your custom code. |
| Edit Page Content | Turn any webpage into an editable document. |
| Dark Mode Toggle | Force a simple dark mode on any site. |
| Extract All Images | Gallery view of all images with download & sorting. |
| Zap Elements | Point and click to delete page elements. |
| Enable Right-Click | Unblock context menus and text selection. |
| Visual Inspector | View font and color info on hover. |
| Show Alt Text | Verify accessibility tags on images. |
| Page Speed Check | View basic load time stats. |
| Remove Sticky | Kill sticky headers and footers. |
| Insert Text | Auto-fill elements with specific classes. |
| Reveal Passwords | Show hidden password field characters. |
jsbookmark/
├── public/ # Static assets (favicons, etc.)
├── src/
│ ├── components/ # React components (BookmarkletCreator.jsx)
│ ├── data/ # Template definitions (templates.js)
│ ├── App.jsx # Main app entry
│ └── index.css # Global styles & variables
├── index.html # HTML entry point
└── package.json # Project dependencies
git clone https://github.com/SamSeenX/scriptmark.git
cd scriptmark
npm install
npm run devnpm run buildContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project useful, please consider supporting me:
- ⭐ Starring this repository
- 🐛 Reporting issues
- ☕ Buy me a coffee
Created with ❤️ by SamSeen
