drag-and-dropzones icon indicating copy to clipboard operation
drag-and-dropzones copied to clipboard

FF 50 totally ends this add-on

Open Fred-Vatin opened this issue 8 years ago • 13 comments

Well, it was expected, this add-on no longer works at all in FF 50. You can't set your search engine in the zones and the zones won't display.

I miss it so much.

Does someone still work on it?

Fred-Vatin avatar Nov 16 '16 02:11 Fred-Vatin

it's case with me when update to 50. i miss it too.

nettrotter avatar Nov 17 '16 23:11 nettrotter

nsDragAndDrop has finally been removed from the gecko source code, it has been deprecated for quite a while now so it's not a big surprise...

There are 2 options to bring Drag & DropZones back to life again (to extend it's life basically, because the direction Firefox is going will require a rewrite at some point...)

  1. Quick and dirty, by adding nsDragAndDrop.js (located inside the omni package inside a <= Firefox 49) to our package and referencing that in dendzones.xul. The old nsDragAndDrop has been deprecated for reasons, but it would fix D&DZones for now...

  2. Doing the right thing, rewriting the drag & drop related bits of code so it uses the new API: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API Quite a bit more work, but option 1 might not even get through the AMO review...

I have no time to help with option 2 Andy, so I will leave this choice to you... (and post a similar message on the git project page for Web Search Pro, might be that Nick has more time.)

MartijnKooij avatar Nov 21 '16 09:11 MartijnKooij

Thanks a lot for the quick fix, works very well (win7/ff50)

novkel avatar Nov 21 '16 13:11 novkel

@Giklooom can you push a pull request to fix this for now until the new version is ready (I am thinking to rewrite the extension in WebExtension)?

andy-portmen avatar Nov 21 '16 13:11 andy-portmen

Done.

novkel avatar Nov 21 '16 13:11 novkel

Thanks. I just pushed one by myself https://github.com/andy-portmen/drag-and-dropzones/commit/d0c9ff83ef8a028a1974de3ab60f232bc45f31b0

Seems like these two are just like together.

andy-portmen avatar Nov 21 '16 14:11 andy-portmen

Just one note, I am going to prepare the new WebExtension version within the next few days. For now I would like to know what drop-zones are must have for you to have them implemented sooner on the first release. Note the the WebExtension version cannot have access to many internal functions that the XUL one has access to

andy-portmen avatar Nov 21 '16 14:11 andy-portmen

@andy-portmen As long as the next release could do basically the same as the old version, mainly:

  • Create as many zones as the user needs
  • Assign any search engines to any zones
  • Ability to color each zone
  • Less important: set global opacity and highlight the hovered zone

I think those are the key features that make it so great, powerful, fast and useful.

Waiting for it, I use the last Firefox ESR version in which all my add-ons still work.

👍

Fred-Vatin avatar Nov 22 '16 21:11 Fred-Vatin

First WbbExtension version is ready; https://addons.mozilla.org/en-US/firefox/addon/drag-dropzones-revived/

To test, download the XPI and open about:debugging in a browser tab. Load the XPI as temporary add-on. Go to options page and configure your engines.

andy-portmen avatar Feb 13 '17 13:02 andy-portmen

@andy-portmen I use Vivaldi and no longer Firefox now and found your extension in the store. Unfortunately, I can not find a way to add a new custom engine. I can only edit the existing ones.

Great you ported it as a Chrome extension.

Fred-Vatin avatar Mar 19 '17 21:03 Fred-Vatin

@freMea version 0.1.2 now supports up to 3 custom search engines.

andy-portmen avatar Mar 24 '17 09:03 andy-portmen

There's a "revived" version of Drag & DropZones available: https://addons.mozilla.org/en-US/firefox/addon/drag-dropzones-revived/ It comes with bugs and a lack of features, but at least it works again.

IgitBuh avatar Jul 03 '17 22:07 IgitBuh

Hi Andy. Are you planning to continue your progress on the WebExtensions version? Just curious. :)

Gitoffthelawn avatar Oct 08 '17 16:10 Gitoffthelawn