Scriptlets

Scriptlets is a new Premium feature in Hermit v13, currently available only via the Early Access Program.

Run your own custom scripts on any page, or pick from our own innovative features that are built entirely as Scriptlets.

Like Bookmarklets, But Better

Scriptlets are just like bookmarklets in desktop browsers, but better. Since they have nothing to do with bookmarks in Hermit, we decided to call them Scriptlets instead.

Dedicated Custom Button

Scriptlets have their own button in Hermit, not mixed with your actual bookmarks.

  1. Launch your Hermit Lite App.
  2. Swipe in from the right edge to reveal the “Quick Settings” sidebar.

  3. Tap on “Scriptlets”
  4. Select the Scriptlet to run on the current page.

That’s it!

Create Your Own

Simply write your own script code in any text editor, or download from a million bookmarklets available online.

Then save them to your phone’s SD card at /sdcard/Hermit/Scriptlets.

No Encoding, No Squishing onto a Single Line

Traditional bookmarklets, because they can only be accessed via the bookmarks menu, needed to be encoded and squished onto a single line.

Not so with Hermit: you can use as many lines as you want, then save as a .js file.

New Features as Scriptlets

Scriptlets are a great way for us to deliver new Hermit features as well!

Google Translate

Translate the current page in Google Translate.

QR Code for This Page

Quickly share the current page with anyone: tap to view a QR Code for the current page that anyone can open on their own phone, Android or iOS

Enable Text Copying

Some sites such as Facebook restrict you from copying/pasting content. Use this Scriptlet to bypass this restriction.

Google Define

Copy a word or phrase in your Lite App, then use this Scriptlet to look it up on Google Define.

Google Web Lite

Save data by viewing a minified version of the current page using Google’s Web Light Transcoder.

Let It Snow

A fun scriptlet that will make it snow on any web page!

Search This Site on Google

Unable to find something on the current site? Use this Scriptlet to search for any term using Google Site Search for the current site.

Show Cookies

Privacy-conscious users can use this option to look up the cookies for the current page.

Urban Dictionary

Copy a word or phrase in your Lite App, then use this Scriptlet to look it up on Urban Dictionary.

Limitations

Android WebView (based on Chromium) does not correctly follow the W3C spec for Content Security Policies, so scriptlets may not run on certain sites. The W3C spec clearly says that:

Policy enforced on a resource SHOULD NOT interfere with the operation of user-agent features like addons, extensions, or bookmarklets. These kinds of features generally advance the user’s priority over page authors, as espoused in [HTML-DESIGN].

Please complain to Google by starring or commenting on this 5-year old bug.