What is a bookmarklet?
A bookmarklet is similar to an extension, but is used by clicking a bookmark. According to wikipedia:
Create a bookmarklet
Creating a bookmarklet is easy. (If you do know how to create a bookmark. If not read Creating A Bookmark )
Let's create a simple example:
First, create a bookmark. As for the title of the bookmark, name it “Hello World”. Instead of keeping the url of the page as the bookmark type
To run js in a bookmark, you need to have the
If you use double quotes it looks like:
And causes an error. If you have multiple lines, create an anonymous function:
Notice there are NO double quotes.
Let's go over some examples:
The above example opens up a new window with a search query of your input! Feel free to copy any of these or the ones listed below.
@JSer ‘s Rolling Sky: (Thanks for creating such an awesome game!)
@Zavexeon Faces Generator
uhm... it works.... and is also useless...
Thank you for reading! Please upvote and comment your own bookmarklets, to be added to the community creations section! I hope I get a content creator tag for this 😀
Lol I made a bookmarklit... uhm... it works.... and is also useless...