MozillaZine

scriptlet -vs- custombuttons

Discussion of general topics about Mozilla Firefox
Lee_Dailey

User avatar
 
Posts: 14194
Joined: July 27th, 2004, 4:33 pm
Location: milky way galaxy, sol system, terra, north america, usa, tx, bedford

Post Posted June 11th, 2013, 12:28 am

howdy y'all,

was reading thru the planet mozilla blog and saw this ...
On Scriptlets

i didn't notice any mention of tbird, but i hope that will be taken care of later.

it looks like it will do the same thing as the custombuttons extension, but with a somewhat simpler user interface. it's been years since i used custombuttons so i may be misremembering things. [*grin*]

still, i thot some folks here might be interested.

i couldn't decide if this otta be in the extensions section or not, so i put it here. [*grin*]

take care,
lee

morat
 
Posts: 3487
Joined: February 3rd, 2009, 6:29 pm

Post Posted June 11th, 2013, 4:25 am

Nice extension... bookmarklet buttons are the most popular request in the Custom Buttons forum.

PS,

How do you even run a bookmarklet in Thunderbird?

Code: Select all
// succeeds in fx
gBrowser.loadURI('javascript:(function(){alert("foo");})();');

Code: Select all
// fails in tb
getBrowser().loadURI('javascript:(function(){alert("foo");})();');

Edit:

The bookmarklet code works fine in content tabs, but not in message tabs or the message pane.
Last edited by morat on June 11th, 2013, 5:10 am, edited 1 time in total.

Lee_Dailey

User avatar
 
Posts: 14194
Joined: July 27th, 2004, 4:33 pm
Location: milky way galaxy, sol system, terra, north america, usa, tx, bedford

Post Posted June 11th, 2013, 4:40 am

howdy morat,

yes, it does look kinda interesting. as for actual coding ... i'm barely able to do dead simple python and powershell stuff. [*grin*]

take care,
lee

KWierso
 
Posts: 8831
Joined: May 7th, 2006, 10:29 pm
Location: California

Post Posted June 12th, 2013, 1:24 am

Scriptlets is built with the Add-on SDK, and I don't think any (or at least, not much) effort has gone in to making it play nicely with Thunderbird.

Return to Firefox General


Who is online

Users browsing this forum: Google [Bot] and 4 guests