Firefox Extension: Update Bookmark 0.0.4 [2005-05-15]

Talk about add-ons and extension development.
chuonthis
Posts: 519
Joined: July 23rd, 2003, 10:17 am

Firefox Extension: Update Bookmark 0.0.4 [2005-05-15]

Post by chuonthis »

<a href="http://www.chuonthis.com/extensions/fb/updatebookmark_0_0_4.xpi"><b>Update Bookmark 0.0.4</b></a>
Allows bookmark properties to be set to the current page's properties or to clipboard text quickly via the context menu. Bookmarks which can be updated include those in the Bookmarks menu, the Bookmarks toolbar, and the Bookmarks sidebar. For more information, please visit <a href="http://www.chuonthis.com/extensions/updatebookmark.php">the extension homepage</a>.

To select which menuitems are displayed, use the extension's options window accessible by opening the Tools menu, selecting Extensions, then double-clicking on the extension entry.

[ <b><a href="http://www.chuonthis.com/extensions/fb/updatebookmark_0_0_4.xpi">Install/Download</a></b> ]

<img src="http://www.chuonthis.com/extensions/images/screen_updatebookmark.png"> <img src="http://www.chuonthis.com/extensions/images/screen_updatebookmark_options.png">

<b>Recent History</b><ul><li><a href="http://www.chuonthis.com/extensions/fb/updatebookmark_0_0_4.xpi"><b>0.0.4</b></a> - 2005.05.15 - Fixed problems caused by <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=174320">bug 174320</a>.
<li><a href="http://www.chuonthis.com/extensions/fb/updatebookmark_0_0_3.xpi"><b>0.0.3</b></a> - 2005.05.04 - Renamed menuitem labels. Added clipboard functions. Fixed uncaught exception when right-clicking on search results in bookmarks sidebar.
<li><a href="http://www.chuonthis.com/extensions/fb/updatebookmark_0_0_2.xpi"><b>0.0.2</b></a> - 2005.04.23 - Initial public release. Added ability to update bookmarks in bookmark sidebar. Added extension icon.
<li><a href="http://www.chuonthis.com/extensions/fb/updatebookmark_0_0_1.xpi"><b>0.0.1</b></a> - 2005.04.09 - Initial release.
</ul>
Last edited by chuonthis on May 15th, 2005, 7:12 pm, edited 3 times in total.
chuonthis extensions: [fx] BookKey 0.0.1, OpenBook 2.0.1.1, Update Bookmark 0.0.5.1 [tb] Buttons! 0.5.3.2, DeleteJunk 0.3.2, Flipping the Thunderbird 0.0.0.1, Folderpane 0.0.5, NNWODC 0.2.3
chuonthis
Posts: 519
Joined: July 23rd, 2003, 10:17 am

Post by chuonthis »

Hrm...it looks like I should be using XPCNativeWrappers since I am accessing content DOM, right? Or is the way I am accessing the page URL and title okay?
chuonthis extensions: [fx] BookKey 0.0.1, OpenBook 2.0.1.1, Update Bookmark 0.0.5.1 [tb] Buttons! 0.5.3.2, DeleteJunk 0.3.2, Flipping the Thunderbird 0.0.0.1, Folderpane 0.0.5, NNWODC 0.2.3
User avatar
cyberrus
Posts: 144
Joined: October 15th, 2004, 5:42 pm
Location: Wroclaw, Poland

Post by cyberrus »

it would be useful to add contextmenu option "Set to current clipboard"
User avatar
tombik
Posts: 310
Joined: February 7th, 2004, 4:15 am
Location: Berlin,GER
Contact:

Post by tombik »

@chuonthis:
Thank you VERY much for this extension.
For me, surfing a lot in forums with long threads over 50 sites, it is VERY useful.
You made my day!!

Tombik
chuonthis
Posts: 519
Joined: July 23rd, 2003, 10:17 am

Post by chuonthis »

cyberrus, ooh, that's a great idea. Should that only be for the URL or the title too? Also (sorry for getting so technical), should there be a check to see if the clipboard contains a valid URL? But basically any text string can be a valid URL...or maybe a confirmation box that says "Set URL to _____? Yes/No"? Or would that be too obtrusive? Maybe an option for a confirmation box?

tombik, you're welcome. :)
chuonthis extensions: [fx] BookKey 0.0.1, OpenBook 2.0.1.1, Update Bookmark 0.0.5.1 [tb] Buttons! 0.5.3.2, DeleteJunk 0.3.2, Flipping the Thunderbird 0.0.0.1, Folderpane 0.0.5, NNWODC 0.2.3
User avatar
cyberrus
Posts: 144
Joined: October 15th, 2004, 5:42 pm
Location: Wroclaw, Poland

Post by cyberrus »

IMHO clipboard to title transmission is absolutly enough - in two ways:
one way - with the bookmarks context menu option
second way - automatically, just when you add page to bookmarks (as on/off option in extension setup)

that second way is strongly needed because when you add some bookmark mostly you have to cut the oryginal title which is largely to long (because of SEO keywords) - this is really annoying - and last but not least - AFAIK none of the extensions has such a feature
User avatar
cyberrus
Posts: 144
Joined: October 15th, 2004, 5:42 pm
Location: Wroclaw, Poland

Post by cyberrus »

i just realized that naming new bookmark could even easier when you make it with not the clipboard content but actually selected text
xeal
Posts: 3
Joined: January 4th, 2005, 5:42 am
Location: Tokyo, Japan
Contact:

Unhandled Exception

Post by xeal »

First of all: thank you for this extension!

I've just discovered an unhandled exception (actually you're handling it with an alert :)) when I'm right-clicking on a bookmark <strong>after</strong> the <em>bookmarks-view</em> tree (from the sidebar) is filtered by a <em>Search</em>.
chuonthis
Posts: 519
Joined: July 23rd, 2003, 10:17 am

Post by chuonthis »

Hi Xeal, thanks for pointing this out. I'd also noticed this problem shortly after releasing 0.0.2 and have a fix for it. I am wrapping up version 0.0.3. :)
chuonthis extensions: [fx] BookKey 0.0.1, OpenBook 2.0.1.1, Update Bookmark 0.0.5.1 [tb] Buttons! 0.5.3.2, DeleteJunk 0.3.2, Flipping the Thunderbird 0.0.0.1, Folderpane 0.0.5, NNWODC 0.2.3
chuonthis
Posts: 519
Joined: July 23rd, 2003, 10:17 am

Post by chuonthis »

Just released 0.0.3 with the search from bookmarks sidebar fix and new clipboard functions. Please check out the first post and let me know if there are any problems or suggestions.
chuonthis extensions: [fx] BookKey 0.0.1, OpenBook 2.0.1.1, Update Bookmark 0.0.5.1 [tb] Buttons! 0.5.3.2, DeleteJunk 0.3.2, Flipping the Thunderbird 0.0.0.1, Folderpane 0.0.5, NNWODC 0.2.3
User avatar
cyberrus
Posts: 144
Joined: October 15th, 2004, 5:42 pm
Location: Wroclaw, Poland

Post by cyberrus »

now it's very useful but I've just observed that it breaks the order of opening tabs - set up in TabMix - when you open next tab it's opened not as it was set (next to current tab) but at the end of all tabs..
chuonthis
Posts: 519
Joined: July 23rd, 2003, 10:17 am

Post by chuonthis »

Just released 0.0.4. It should fix any incompatibilities with the Fetch Text URL extension. Hopefully any other incompatibilities are also fixed. cyberrus, can you try this version and see if the order is still broken in TabMix? Thanks!
chuonthis extensions: [fx] BookKey 0.0.1, OpenBook 2.0.1.1, Update Bookmark 0.0.5.1 [tb] Buttons! 0.5.3.2, DeleteJunk 0.3.2, Flipping the Thunderbird 0.0.0.1, Folderpane 0.0.5, NNWODC 0.2.3
Crixus
Posts: 27
Joined: January 8th, 2005, 12:57 am
Location: Texas
Contact:

Post by Crixus »

Yes, this fixed the problems with FTU. Thanks.
User avatar
cyberrus
Posts: 144
Joined: October 15th, 2004, 5:42 pm
Location: Wroclaw, Poland

Post by cyberrus »

hi chuonthis!
tab order is ok

i moved it back from "suspended" to "must have" ;)

nice work - thanks
VaMPiRiC_CRoW
Posts: 81
Joined: August 1st, 2003, 8:35 am

Post by VaMPiRiC_CRoW »

Great!

Thanks ;)
Post Reply