Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

FYI Bookmarklets

Tag Build Status Dependency Status devDependency Status

The "fyi" bookmarklets make it easy to select text on a web page and fire off an email that quotes the selection and includes the page title and URL.

All of that is done without you doing copy-and-paste work or back-and-forth app switching.

Available versions include:

  • fyi-webkit -- optimized for iOS (iPhone/iPad/iPod) and Chrome.

  • fyi-firefox -- optimized for Firefox to support address bar with custom keyword %s argument. DEPRECATED- Most recent Firefox versions severely restrict use of javascript: bookmarks.

  • fyi-ie -- works with Internet Explorer and its (odd-to-me) DOM selected text methods. NOTE: You may be able to use fyi-webkit with IE 11 or the Edge browser version 14 or higher. Try it.


Desktop browser

Drag the desired bookmark to the bookmark bar or add bookmark/favorite. Optionally edit or rename the bookmark/favorite. Firefox users may want to set bookmark properties so the Name is "fyi email" and the custom Keyword is "fyi" for reasons detailed in Usage.

  • fyi-webkit -- fyi

  • fyi-firefox -- fyi

  • fyi-ie -- fyi


General Use

Visit a web page. Activate the fyi bookmarklet (click it on bookmark bar or use the Bookmarks/Favorites menu).

The fyi bookmarklet will open a new email with the page title in the subject line, the page title repeated again in the body, along with the selected text (if any text was selected), and the URL of the original page.

Quick Use


The preferred technique is now to use a bookmark (favorites) button for fyi. The bookmark will display a default email address that you can replace. Edit the default address found at the beginning of the bookmarklet or edit the source and rebuild it.

Firefox Custom Keywords

With Firefox Custom Keywords you were able to do something like:

Cmd-L/Ctr-L fyi Enter

NOTE: Custom Keywords is a bit flakey as of 2014 due to Firefox security precautions for redirects-- it seems to consider opening a mailto: from the address bar to be a redirect.

FURTHER NOTE- Most recent Firefox versions severely restrict use of javascript: bookmarks. I'm no longer putting significant effort into this variation of fyi.

Historical use of fyi with Custom Keywords is included below.

Each bookmark in Firefox can have attributes including a Name, Tags, and a Keyword. Custom keywords can be used with a dynamic "replacement string" for the bookmark location (URL or javascript:…).

The fyi Firefox bookmarklet can take advantage of a Custom Keyword, and a replacement string (to pre-address the email). The recommended bookmark Name is "fyi email" since this gives a syntax hint when using it. The recommended Keyword is "fyi".

Given a designated keyword (ie, "fyi"), the bookmarklet can be activated by typing the keyword in the address bar and pressing enter. The intended syntax is:

fyi [emailAddress(es)]

The optional argument is one or more email addresses, separated by semicolons. The email address(es) will be put in the TO field of the new email. Outlook users can include multiple recpients using syntax like:

fyi Lastname1,Firstname1;Lastname2,Firstname2;

There is a Known Issue with using Custom Keywords--- the current page URL appears properly in the email, but is over-written in the browser's address bar. The work-around is as follows: when you return to the browser, click in the address bar and press Esc.


Web browser that supports javascript:… bookmarks/favorites. Tested with Firefox 3.x - 41.x, Safari 5.0 - 10.x, Mobile Safari 4.x - 10.x. I am delightfully clueless if Internet Explorer version still works; I stopped using Windows.


MIT License -

Source Code Notes

Source code is available as text files for each bookmarklet. The JavaScript was written to be as small as practical when URL-encoded. Sorry if it isn't easy to read. The version number is embedded in the void'code' call at the end of the code in version 1.9 and later.

Version Notes

Inspired by Mike Chambers' Firefox Ubiquity fyi command.

Version 2.9.3 - June 13, 2018 - Update to build process to use contemporary packages

Version 2.9.2 - June 30, 2017 - Minor update to build process.

Version 2.9.0 - June 29, 2017 - Refactor bookmarklets to leverage ES6 code. Re-write reduces use of + concatenation and deeply streamlines URL encoding. Stricter eslint checks. Addresses issue reported with Chrome + Outlook.

Version 2.8.2 - June 23, 2017 - Bump up versions of dependencies & node; stricter eslint rules

Version 2.8.1 - May 9, 2017 - sigh. revert bookmarklet code from ES6 until UglifyJS 3 is ES6-friendly

Version 2.8.0 - April 20, 2017 - update bookmarklet code to ES6; update build process to use eslint, yamllint, and to provide support files for mdl (ruby gem ) or markdownlint (npm).

Version 2.7.2 - March 17, 2016 - update to current LTS release of node 5.9

Version 2.7.1 - March 11, 2016 - updates to, and build/integration testing using contemporary versions of node only (4.4 & 5.8)

Version 2.7.0 - October 29, 2015 - no code changes; just updates to, build and integration testing

Version 2.7.0 - August 5, 2015 - streamline to node 0.12.x; rewrite for all platforms to prompt for email address(es)

Version 2.6.5 - April 26, 2015 - work with node engine 0.10.x - 0.12.x and grunt-cli > 0.1.0,; use grunt-contrib-uglify 0.8.x

Version 2.6.4 - March 28, 2015 - update to grunt-contrib-uglify 0.8.x; better specify node & grunt versions; rebuild, update

Version 2.6.2 - January 16, 2015 - update to grunt-contrib-uglify 0.7.x; rebuild, update

Version 2.6.1 - June 10, 2014 - switched build system to grunt; use "semver-like" versioning, update

Version 2.0 - June 10, 2012 - add code in embedded version number to identify associated browser, e.g., javascript:… void('2.0ff') for Firefox fyi-bookmarklet 2.0

Version 1.9 ~ January 3, 2012 - Streamlined message body of resulting email Embed version number of bookmarklet in bookmarklet itself, e.g., javascript:… void('>1.9') for version 1.9

Versions 1.2-1.8 ~ April 2011 - December 2011 - Numerous encoding tweaks. Attempts to make each bookmarklet even 1 character shorter. Makefile automation for use of HTML Tidy validation, jsl (JavaScript Lint) check, and yuicompressor.

Version 1.1 ~ April 15, 2011 - Optimized for shorter emails if no text was selected. Adds version for IE to accommodate IE DOM method weirdness.

Version 1.0 ~ April 5, 2011 - First release


bookmarklets to easily create an email from browser with page title, url & selected text



You can’t perform that action at this time.