Wait, What's a Bookmarklet?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • awesome-bookmarklets

    🔖 Awesome collection of helpful bookmarklets

  • I wonder if people use them very often today. Anyway, https://github.com/marcobiedermann/awesome-bookmarklets

  • archiveis

    A simple Python wrapper for the archive.is capturing service

  • Bypass paywall

      javascript:location.href='https://archive.is/?run=1&url=%27+encodeURIComponent(document.location.href)

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • foodmarklet

    Bookmarklet version of plainoldrecipe

  • Bookmarklets are great in mobile browsers. This is handy if you want to avoid writing an extension for a simple script.

    I use a bookmarklet I wrote all the time to remove the extra content from online recipes: https://github.com/kevlened/foodmarklet

    It’s based on https://github.com/poundifdef/plainoldrecipe, but it works entirely in the client.

  • plainoldrecipe

    Takes a recipe website URL and transforms it to a plain-text version for reading or printing.

  • Bookmarklets are great in mobile browsers. This is handy if you want to avoid writing an extension for a simple script.

    I use a bookmarklet I wrote all the time to remove the extra content from online recipes: https://github.com/kevlened/foodmarklet

    It’s based on https://github.com/poundifdef/plainoldrecipe, but it works entirely in the client.

  • videospeed

    HTML5 video speed controller (for Google Chrome)

  • just use video speed controller https://chrome.google.com/webstore/detail/video-speed-contro...

  • reveddit

    Review removed content on reddit. Uses the Pushshift API, built on code from removeddit.

  • web-automation

  • - edit any text on the page: javascript: (function() { document.body.contentEditable = true; document.body.spellcheck = false; })();

    Long bookmarklets https://github.com/madacol/web-automation/tree/master/bookma...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Force-Paste

    Paste text even when not allowed (password dialogs etc) in macOS

  • Force pasting is something that is unfortunately required in many places, not just the browser. For example a Citrix session where the Citrix admin decided that pasting was a security risk and hence blocked it. Or some very poorly written apps.

    For all of these I use an apple script that emulates typing one letter at a time, with a small delay because Citrix can't deal with typing which is too fast.

    It's based on Force Paste: https://github.com/EugeneDae/Force-Paste

    I invoke it with a shortcut (Alfred on macOS for example) and it's a life saver multiple times a day. Weirdly satisfying to watch happening =)

  • chromium

    The official GitHub mirror of the Chromium source

  • Unable to reproduce this on Chrome 118. I just ended up with an untitled bookmark.

    Still interesting to look at Chromium's source to see that they have unit tests for bookmarklets [1]. Also looks like people "frequently" report running JS from bookmarks as an XSS vulnerability [2]

    [1] https://github.com/chromium/chromium/blob/0acce829e996f8387c...

    [2] https://github.com/chromium/chromium/blob/0acce829e996f8387c...

  • bookmarklet-platform

    A platform for distributing JS bookmarklets created from GitHub gists

  • Hi! Agreed re: advantages of gist/git backing. Comments and gist history via GitHub add a lot of value for free. The tool also allows bookmarklet creators to write in modern, un-obfuscated JS as there are transpilation, minification, and IIFE wrapping applied to the bookmarklet.

    The security risk angle is also a concern I share. If you take a look at the disclaimer at the bottom of my project README [1], you'll see this exact issue mentioned. Versioning gists and thus bookmarklets is discussed in the same document [2]. This locks bookmarklet source to a specific commit of the git repo underlying a gist.

    [1] https://github.com/ashtonmeuser/bookmarklet-platform?tab=rea...

  • payday

  • Ahh Bookmarklets.. my first love.. Long time ago in about era of 2004-2010 I only knew about html & php. In about 2011 I found the javascript. Next year I found the bookmarklets.

    My first Bookmarklet: When is my next payday? My job used to pay salary monthly, on second last working day of month (Sun to Thu was working week). I eagerly used to count the days remaining for next payday. I realized that Javascript can do this for me. PayDay was born. I still have the code at https://gitlab.com/davchana/payday/-/blob/beta/payday_v1_01_... Coincidently this was my first project on Gitlab.

    Then, Google Chrome used to remember passwords, but there was no password manager inbuilt to view passwords. I found this View Passwords code at https://ostermiller.org/bookmarklets/viewpass.js & minified it & have been using it since last 12 years, in a mobile with ViewPasswords name. The only change I did was making the div containing found passwords contenteditable to make it easy to copy. I have been using it since 2012. Somewhere in between these years I lost the original code but I came across it again in 2023.

    I also made my own version of fancy view passwords, code at https://gitlab.com/davch/bookmarklets/-/blob/master/viewPass... but I tend to use the original one more often.

    One of the proudest bookmarklet is CAJobAppsGSV2 (California Job Apps Google Apps Script v2). CA has a standard way of applying for government jobs, where you create templates per position title & then apply it by going through 5 or 6 pages. This BM looks at the address, a switch fires up the function, that function choses the correct dropdown values & clicks appropriate buttons & also saves some data in SessionStorage. After the confirmation it adds a div to the box, which on clicked upon closes itself. The BM prepares data from storage & page, & fires up a POST request to Google Apps Web Script, which saves it as a line item to a sheet. While doing this, it logs the statuses to the div.

  • Ahh Bookmarklets.. my first love.. Long time ago in about era of 2004-2010 I only knew about html & php. In about 2011 I found the javascript. Next year I found the bookmarklets.

    My first Bookmarklet: When is my next payday? My job used to pay salary monthly, on second last working day of month (Sun to Thu was working week). I eagerly used to count the days remaining for next payday. I realized that Javascript can do this for me. PayDay was born. I still have the code at https://gitlab.com/davchana/payday/-/blob/beta/payday_v1_01_... Coincidently this was my first project on Gitlab.

    Then, Google Chrome used to remember passwords, but there was no password manager inbuilt to view passwords. I found this View Passwords code at https://ostermiller.org/bookmarklets/viewpass.js & minified it & have been using it since last 12 years, in a mobile with ViewPasswords name. The only change I did was making the div containing found passwords contenteditable to make it easy to copy. I have been using it since 2012. Somewhere in between these years I lost the original code but I came across it again in 2023.

    I also made my own version of fancy view passwords, code at https://gitlab.com/davch/bookmarklets/-/blob/master/viewPass... but I tend to use the original one more often.

    One of the proudest bookmarklet is CAJobAppsGSV2 (California Job Apps Google Apps Script v2). CA has a standard way of applying for government jobs, where you create templates per position title & then apply it by going through 5 or 6 pages. This BM looks at the address, a switch fires up the function, that function choses the correct dropdown values & clicks appropriate buttons & also saves some data in SessionStorage. After the confirmation it adds a div to the box, which on clicked upon closes itself. The BM prepares data from storage & page, & fires up a POST request to Google Apps Web Script, which saves it as a line item to a sheet. While doing this, it logs the statuses to the div.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts