Baton34 / organize-search-engines

Automatically exported from code.google.com/p/organize-search-engines
Other
32 stars 4 forks source link

Firefox 57 and Webextensions #109

Open Endor8 opened 6 years ago

Endor8 commented 6 years ago

Hi. I think you know from Firefox 57 on only web-extensions are allowed. I am absolutely disappoint that the support of the so called legacy add-ons will be removed by Mozilla. Have you any idea how and if this fantastic add-on will survive. Do you see any chances to port it as web-extension? I think the actually restrictions of web-extensions make it near to impossible to port it. What can you say about it. Cheers Endor

Baton34 commented 6 years ago

Hi. I very disappointed too because i use some of addons that I'm 100% sure will not ported to web-extension. I have no skills to port it to web-extension. It fantastic addons will totally die in FF57 with no chances. So you are need to make choice: modern FF (or other browser) or useful FF. Migrate to esr branch. I suppose it will work with legacy addons until march 2018.

Endor8 commented 6 years ago

Yea I think the only thing we can actually do is to migrate to ESR branch. I have prepared the Firefox profile from Firefox 54.0 for this. Since the profile from Firefox 55 is not backward compatible. I don't understand why Mozilla takes such incomprehensible decision. Mozilla apparently don't care about there users. Thanks for you fantastic work. Cheers Endor

yfdyh000 commented 6 years ago

require https://bugzilla.mozilla.org/show_bug.cgi?id=1268401

Baton34 commented 6 years ago

More than year ago and no result. Mozilla did not want to implement needed api. So no more OSE and other search-bar addons.

ghost commented 6 years ago

If the API simply doesn't allow you to access the browser's search engines, why don't you use keyword search bookmarks/bookmarked searches/Smart keywords instead? Just as this extension does: Context Search WebExtension

You said that you don't have skills to port it to web-extension, but maybe you can rethink the extension taking into account keyword search bookmarks.

The drawback is that you can't use the "post" function (and favicons aren't supported), but as "search engines" are bookmarks, you can synchronize easily them between computers and they also can be organized in folders.

As a translator, this extension is absolutely essential to me.

Thanks

bege10 commented 6 years ago

I have switched to ESR already. And today I found "Waterfox" www.waterfoxproject.org . Have a look at it. It will continue supporting non-WE addons and will have an own addon store.

FreePaul commented 6 years ago

Hi! Look at Selection Context Search: https://addons.mozilla.org/ru/firefox/addon/selection-context-search/?src=api

It is possible to make and organize your own search engines like in OSE. But only for popup menu. Look at my own screenshot: default

Baton34 commented 6 years ago

Не факт, что в webext есть возможность реализовать какое-то подобие папок, а даже если и так, то доступа к панели поиска всё равно нет. А без этого это недоOSE получится. Да и потом его надо с нуля переписывать под WE, а у меня таких познаний нет. В общем или OSE или модный FF. Может быть кто-то другой когда-нибудь сможет написать что-то подобное OSE под we.

MysteryIII commented 6 years ago

Hello Baton34, first of all I want to thank you for maintaining this great Add-On. Are you familiar with UserChrome scripts? They are Userscripts that change the behavior of Firefox itself unlike GM Scripts that change the behavior of Web pages. Here you find some additional information about it: https://www.ghacks.net/2017/11/24/run-userchrome-js-scripts-in-firefox-57-or-newer/

Basically it let you do the things/features that are lost with Webextension. There is also a tutorial to get TabMixPlus features back (though in German): https://www.camp-firefox.de/forum/viewtopic.php?f=7&p=1044804#p1044799

Maybe you can port your Extension to a Firefox Userchrome Script? This way one can get the best of both worlds: the customizations of FF <=56 and the speed and performance optimization of FF >57.

LeeBinder commented 4 years ago

I am with @MysteryIII on his suggestion.

MysteryIII commented 4 years ago

This is not an exact replace, but also brings back the old searchbar with some additional features: https://github.com/Aris-t2/CustomJSforFx/blob/master/scripts/alternative_searchbar.uc.js

LeeBinder commented 4 years ago

thanks @MysteryIII Just use it as-is, or did you do manually change any settings ([un]comment any lines, toggle false/ true) of the script to have it be as close to OSE as possible?

Is there any way to get the groups back?

bege10 commented 4 years ago

This Add-on was written as a Firefox 57+ web-extensions compatible replacement for Ben Basson's popular Context Search Add-on

https://addons.mozilla.org/de/firefox/addon/contextsearch-web-ext/

LeeBinder commented 4 years ago

@bege10 : yes, quite powerful add-on even incl. search groups. I checked it out before and did so again just now. It's still missing the "Search with" contextual menu when highlighting a term in the search box, at least for me. Does that work for you, or doesn't either? (yes, I enabled "Enable on textarea and input elements")

bege10 commented 4 years ago

@bege10 : yes, quite powerful add-on even incl. search groups. I checked it out before and did so again just now. It's still missing the "Search with" contextual menu when highlighting a term in the search box, at least for me. Does that work for you, or doesn't either? (yes, I enabled "Enable on textarea and input elements")

I think I don't right understand the feature you mention. The add-on has its own search box. There I can enter a search item and then click the requested search engine. There I don't need a contextual menu. And in text areas and input elements the menu is present. Can you, please, explain more detailed what you miss?

LeeBinder commented 4 years ago

the feature you describe is a good start but for me does not quite cut it/ isn't equal to this OSE extension. It would be great to have a contextual menu sensitive text area right in the bar. Right now the search input field is not:

Screen Shot 2020-05-29 at 23 13 56

With the right coding/ scripting knowledge, I'm sure it would be possible to merge legacy OSE, Context search web ext. and the JS scripts into one combined web ext. with (close to) 100% the look, feel & functionality of OSE.

@Baton34 ?

Baton34 commented 4 years ago

As I said before, I don’t have the necessary skills to write a new extension.

LeeBinder commented 4 years ago

@Baton34 : OK, gotcha - thanks for replying anyway.

At some point, someone will be able to pull on all strings and put all the pieces together. I'm happy with Waterfox Classic anyway.

MysteryIII commented 4 years ago

thanks @MysteryIII Just use it as-is, or did you do manually change any settings ([un]comment any lines, toggle false/ true) of the script to have it be as close to OSE as possible?

Is there any way to get the groups back?

All customization options are in line 34-46. I've activated: old_search_engine_selection_popup show_search_engine_names

Sadly there is no option for groups yet. But I think it might be possible. You might ask for it on a Firefox scripts board like Camp Firefox or Reddit.

I was staying on Fx 56 for very long time myself. Losing all the extensions was quite the problem and it took some time to get necessary APIs for quite a lot of features. While there's still a need here and there, we are at a point where it is pretty good again. And now with the CSS Codes and scripts, I got almost everything I wished for. You shouldn't forget that the new Firefox is far more performant and overall loading (itself, websites, scripts) is much faster.

LeeBinder commented 4 years ago

gotcha @MysteryIII , and thanks for the links.

I've been using Waterfox Classic. But the security patch gap is getting bigger, so I'm aiming at using Waterfox Current with CSS Codes and scripts including SE groups hopefully in the near future.

Baton34 commented 3 years ago

Я сделал всё что мог и получилось то что есть. Не питайте больших иллюзий на поддержку и развитие так как я не программист и не имею должного уровня навыков и знаний. Можете попробовать новую версию https://github.com/Baton34/Organize-Search-Engines2/releases I did my best and it turned out what it is. Do not have big illusions about support and development, since I am not a programmer and do not have the required level of skills and knowledge. https://github.com/Baton34/Organize-Search-Engines2/releases

LeeBinder commented 3 years ago

very awesome, thank you Baton34, just tested your latest 0.0.7 and it's working fine (even when clicking onto SEs inside folder created in prefs) in latest FIrefox macOS! 🥇

Baton34 commented 3 years ago

I asked "Classical Search Bar" author about folders and he said that have no time for this, so I am taked his addon as basis and create OSE2 and now he released a new version with folder support: https://addons.mozilla.org/ru/firefox/addon/classical-search-bar/ Try it.

LeeBinder commented 3 years ago

LOL but don't grudge - above all things are happening and advancing/ progressing - thanks for letting us know!

.. and honestly I do prefer YOUR way of implementing folders with the open-below style to 田生's because his is jumping around more and it's even necessary to click to go back, so please keep yours rather than copying his style. I'd say your style is more linear, elegant and user-friendly. Maybe you can look how he solved separators, but that's not something functional but only cosmetic and therefore low priority, I'd say.

Baton34 commented 3 years ago

but don't grudge

its not grudge its funy. I spent about 8 days for this cause I am a total noob in javascript, html and css.

LeeBinder commented 3 years ago

wow really - that I call commitment and devotion - kudos! It was obviously worth it, + you can use your new skills on other projects :)