GitHub Mark

Hacklet

Embark on a journey to bookmark the future. (This YSWS ended. But you can find more in here!)

Hacklet is a finished YSWS about Bookmarklets.

Build a bookmarklet, get a domain.

The Rules

<- click here!

What is a bookmarklet?

A bookmarklet is a small JavaScript program stored as a browser bookmark. When clicked, it runs code to modify a webpage, extract data, or perform quick actions.


How to make a Bookmarklet

  1. Write a JavaScript function to perform the desired task. For example:
                            
    javascript:(function() {
        alert('Hello, this is a bookmarklet!');
    })();
                            
                        
  2. Copy the code and prepend it with the `javascript:` prefix. Remove any newlines or unnecessary spaces.
  3. Create a new bookmark in your browser and paste the code as the URL.

Example Bookmarklet

Drag the following link to your bookmarks bar to try an example bookmarklet: Click Me!

How to Use Bookmarklets

Simply click the bookmarklet from your bookmarks bar while on any webpage to execute the JavaScript code.

Example Image


Bookmarklet Tester



Coded By PianoMan0

With amazing bug fixing by Charmunk, Neon!