Bookmarklets are one line scripts stored in the URL field of a bookmark. Bookmarklets have been around for a long time so they will work in older browsers.
Using multiple lines of code[edit | edit source]
Since you cannot have line breaks in bookmarklets you must use a semicolon at the end of each code statement instead.
Examples[edit | edit source]