Mozilla/Firefox Suggestion
Mozilla/Firefox Suggestion
- Subject: Mozilla/Firefox Suggestion
- From: "D. Mahaffy" <email@hidden>
- Date: Thu, 14 Oct 2004 12:34:53 -0400
Finally there's a wee bit of scriptability for Firefox; however, it is extremely weak.
Elliotte Harold wants the following from Moz/FF:
Anything and everything, but most immediately:
1. Get the text of the selection
2. Get the URL of the front window
3. Get message headers
4. Make the scripts menu work
The only way I have found to do this and do this well is with a little (editable) utility called Copy URL +. Combine that with iKey (or the macro utility of your choice), I can do at least #'s 1 and 2 of your list. I realize it isn't an AppleScripted solution, but it is a solution nonetheless.
Homepage for CopyURL+ : http://copyurlplus.mozdev.org/
iKey : http://scriptsoftware.com/ikey
In Firefox, install the CopyURL+ extension. (I'm assuming you're using OS X). By default, the utility provides the following options in the Edit menu or the right-click menu - currently the author does not know how to add a keyboard command within Firefox (i.e., Command C, etc.), hence my use of iKey to run the command via a keyboard shortcut.
The options by default:
Copy URL + Title > This yields the following:
MacSurfer's Headline News™
http://www.macsurfer.com/
Next option:
Copy URL + Selection
"2004 Q4 Results"
http://www.macsurfer.com/
Finally:
Copy URL + Title + Selection
MacSurfer's Headline News™
"2004 Q4 Results"
http://www.macsurfer.com/
To add to these, you need to create a file "user.js" in the following folder:
/Users/username/Library/Application Support/Firefox/Profiles/default.pse/
The author will be adding the path instructions for OS X, as currently, they're not in the readme or online.
Follow the customizing instructions once you create the user.js file. Below is an example from the site:
user_pref("copyurlplus.menus.1.label", "Copy URL + <a href=...>...</a>, selection");
user_pref("copyurlplus.menus.1.copy", "<a href=\"%URL%\">%TITLE%</a>, %SEL%");
Once done, save the file, close/reopen Firefox and your new option(s) should be on the CopyURL+ menu.
I hope this is helpful.
I receive the digest, so if you want to reply to me, please CC me.
--
Best,
Darren
MacSurfer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden