MozillaZine

[Ext] Bookmark Tab Here (webextension - new)

Announce and Discuss the Latest Theme and Extension Releases.
custom.firefox.lady
 
Posts: 343
Joined: February 28th, 2008, 3:48 am
Location: PA

Post Posted February 5th, 2018, 9:16 pm

Adds context menu item 'Bookmark Tab Here' to Bookmarks Menus as an alternative bookmarking method. Couldn't get used to Firefox Quantum without ABH2, so I created this ultra-basic webextension substitute.

Right-click a bookmarks folder (in Bookmarks Menu, Bookmarks Toolbar, or Bookmarks Button) and click 'Bookmark Tab Here' to insert bookmark of current tab at top of that folder. (Right click individual bookmark menuitem instead to insert bookmark of current tab below that item.)

Please report any issues in this thread.

Download/Install at AMO: Bookmark Tab Here

Makyen
 
Posts: 16
Joined: June 17th, 2014, 9:18 pm

Post Posted February 5th, 2018, 9:44 pm

custom.firefox.lady wrote:Download/Install at AMO: Bookmark Tab Here


At least according to the documentation, the bookmark context is only available from Firefox 59. If your extension is restricted to FF59+, you really need to explicitly state that, so that you don't set people's expectations inaccurately.

Yes, this is the only way that this is possible at this point, well, as of FF59. I was considering making such an extension myself. Now, I know I don't need to. Thanks for doing the work.

pschroeter
 
Posts: 112
Joined: September 3rd, 2004, 1:19 pm

Post Posted February 6th, 2018, 10:33 am

custom.firefox.lady wrote:Adds context menu item 'Bookmark Tab Here' to Bookmarks Menus as an alternative bookmarking method. Couldn't get used to Firefox Quantum without ABH2, so I created this ultra-basic webextension substitute.

Right-click a bookmarks folder (in Bookmarks Menu, Bookmarks Toolbar, or Bookmarks Button) and click 'Bookmark Tab Here' to insert bookmark of current tab at top of that folder. (Right click individual bookmark menuitem instead to insert bookmark of current tab below that item.)

Please report any issues in this thread.

Download/Install at AMO: Bookmark Tab Here


So to be clear, this sounds like it does exactly what I want, but it is only going to start working in FF 59 which is getting released next month because it's waiting for new APIs or whatever? I don't know how versioning works in webextension, but shouldn't the installer have recognized I'm still on FF 58 and not installed? I assume it's safe to leave it installed until then.

Makyen
 
Posts: 16
Joined: June 17th, 2014, 9:18 pm

Post Posted February 6th, 2018, 10:59 am

pschroeter wrote:
custom.firefox.lady wrote:Adds context menu item 'Bookmark Tab Here' to Bookmarks Menus as an alternative bookmarking method [...]
Download/Install at AMO: Bookmark Tab Here


So to be clear, this sounds like it does exactly what I want, but it is only going to start working in FF 59 which is getting released next month because it's waiting for new APIs or whatever? I don't know how versioning works in webextension, but shouldn't the installer have recognized I'm still on FF 58 and not installed? I assume it's safe to leave it installed until then.


Yes, based on the documentation, it needs FF59+, but I haven't tested it. It could have/should have been written such that installation is only permitted in FF >= 59. Setting such restrictions is up to the extension developer (e.g. through setting
Code: Select all
"applications": { "gecko": { "strict_min_version": "59.0" }}
in the extension's manifest.json). It's not done automatically.

I haven't looked at the code, but unless something unusual was done, leaving it installed shouldn't cause you any problems due to this issue. This should be just a minor issue, which will resolve itself (mostly) once FF59 is released. However, it's likely to result in user confusion and poor reviews.

If you want the functionality now, you could install the Beta version of Firefox. Developer Edition or Nightly (both available from that linked page) would also be 59+. However, those two versions tend to be less stable, and have features which may not be desired.

enbalmed
 
Posts: 28
Joined: February 14th, 2009, 8:27 am

Post Posted February 6th, 2018, 4:21 pm

Did some basic testing using portableapps.com versions of FF:
FF 58 Release: Doesn't work, as anticipated by Makyen.
FF 60 Nightly: Works in the bookmarks menu but not in the sidebar...

custom.firefox.lady
 
Posts: 343
Joined: February 28th, 2008, 3:48 am
Location: PA

Post Posted February 6th, 2018, 7:08 pm

Makyen wrote:At least according to the documentation, the bookmark context is only available from Firefox 59. If your extension is restricted to FF59+, you really need to explicitly state that, so that you don't set people's expectations inaccurately.
I missed that; thanks for the info. Released a new version with min version set to fx 59. I tested on Nightly (60).

Makyen wrote:Yes, this is the only way that this is possible at this point, well, as of FF59. I was considering making such an extension myself. Now, I know I don't need to. Thanks for doing the work.
I waited awhile to see if the ABH2 dev would jump back in or someone else take it up, but I guess I ran out of patience before you did <grin>. You're welcome. I mostly did it for myself, but might as well share.

pschroeter wrote:I'm still on FF 58 ... I assume it's safe to leave it installed until then.
Sure, you can always just disable it until you move to fx59; then re-enable. No need to actually uninstall. Sorry for the trouble.

enbalmed wrote:FF 60 Nightly: Works in the bookmarks menu but not in the sidebar...
Correct. That's why my initial post doesn't mention the sidebar. The webext API for this doesn't work on the sidebar: Bug 1419195

pschroeter
 
Posts: 112
Joined: September 3rd, 2004, 1:19 pm

Post Posted February 6th, 2018, 9:26 pm

I just want you to know how how happy and thrilled I am to know something like this is coming in the foreseeable future. I think I started using ABH when it was still ABH1 years and years ago. I have been on Quantum for about six weeks and still daily have to fight muscle memory and stop myself from saving bookmarks like I still have ABH2.
Now if I could only stop myself from double clicking on tabs to close them now that Tab Mix Plus seems dead.

nektar4d
 
Posts: 3
Joined: November 28th, 2012, 10:04 am

Post Posted February 11th, 2018, 2:55 am

Thank you!

MorpheusUK

User avatar
 
Posts: 209
Joined: September 25th, 2003, 3:40 pm

Post Posted February 11th, 2018, 3:38 pm

Thanks for this. I will have to wait for 59 to test it but not having ABH2 has been a real pain, like someone else here I have been using ABH since the original extension and not having it has been quite annoying as it was one of the first extensions I would install. I have actually raised a feature request about the ABH2 functionality being incorporated into FF, https://bugzilla.mozilla.org/show_bug.cgi?id=1437287 which mentioned this extension. and dragging and dropping for the sidebar.

@pschroeter, Tab Mix Plus is back (in a limited experimental form at present) - https://addons.mozilla.org/en-US/firefo ... extension/

koyama
 
Posts: 2
Joined: June 3rd, 2013, 12:51 am

Post Posted February 18th, 2018, 4:59 am

Thanks to this add-on. I use on Firefox 59beta. I have used ABH2 before Firefox 57. Like that, I hope 'rename bookmark' dialogue
before closing this add-on.

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 2 guests