Skip to content

Instantly share code, notes, and snippets.

Dan Stillman dstillman

Block or report user

Report or block dstillman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dstillman
dstillman / open-message-url.js
Last active Oct 25, 2018
Thunderbird: Open Message URL
View open-message-url.js
// Assign this to a keyboard shortcut (e.g., Cmd-Ctrl-O) with Keyconfig
var openURL = function (url) {
var uri = Services.io.newURI(url, null, null);
Components.classes["@mozilla.org/uriloader/external-protocol-service;1"]
.getService(Components.interfaces.nsIExternalProtocolService)
.loadURI(uri);
}
var loadFirstURLInBody = function (body) {
You can’t perform that action at this time.