Recensioner för ContextSearch web-ext
ContextSearch web-ext av Mike B
Recension av thuerrsch
Betygsatt 4 av 5
av thuerrsch, för 8 år sedanNice replacement for the old Context Search add-on which I started to miss bitterly right after Firefox 57 came out. Something like this should REALLY be standard in Firefox.
That said, getting the add-on to work in "Automatic" mode on GNU/Linux (Ubuntu, in my case) was a bit of a hassle. The instructions on the GitHub site could be more helpful here. They put too much focus on the location of ContextSearch.json (no, DON'T put that file or anything else under /usr/lib/ or /usr/lib64/, these are to be maintained by your package manager alone) and leave more important points unmentioned.
To make a long story short, I had to do the following:
(1) Put ContextSearch.json and ContextSearch.py from the git repository into ~/.mozilla/native-messaging-hosts/.
(2) Make ContextSearch.py executable (chmod u+x) AND convert it from CR/LF (Windows) to LF (Unix) line endings so that python can actually run the script. (I also changed the shebang to #!/usr/bin/env python).
(3) Change the path value in ContextSearch.json to the actual location of ContextSearch.py (why doesn't it just default to ContextSearch.json and ContextSearch.py being in the same directory?).
(4) Enter the path of my search.json.mozlz4 file in the add-on's preferences.
And hey not-quite-presto, everything works! Well, apart from a few details, like search engines using POST rather then GET requests not working but showing up in the context menu. All in all, a promising extension with a few rough edges.
That said, getting the add-on to work in "Automatic" mode on GNU/Linux (Ubuntu, in my case) was a bit of a hassle. The instructions on the GitHub site could be more helpful here. They put too much focus on the location of ContextSearch.json (no, DON'T put that file or anything else under /usr/lib/ or /usr/lib64/, these are to be maintained by your package manager alone) and leave more important points unmentioned.
To make a long story short, I had to do the following:
(1) Put ContextSearch.json and ContextSearch.py from the git repository into ~/.mozilla/native-messaging-hosts/.
(2) Make ContextSearch.py executable (chmod u+x) AND convert it from CR/LF (Windows) to LF (Unix) line endings so that python can actually run the script. (I also changed the shebang to #!/usr/bin/env python).
(3) Change the path value in ContextSearch.json to the actual location of ContextSearch.py (why doesn't it just default to ContextSearch.json and ContextSearch.py being in the same directory?).
(4) Enter the path of my search.json.mozlz4 file in the add-on's preferences.
And hey not-quite-presto, everything works! Well, apart from a few details, like search engines using POST rather then GET requests not working but showing up in the context menu. All in all, a promising extension with a few rough edges.
Utvecklarens svar
postad för 8 år sedan(edit3)
Can you tell me which POST engines aren't working? I'll take a look.
1.2.1b6 in the beta section fixed a bug where {searchTerms} in POST was only replaced in the form params and not if it was also included in the url params. If that was causing your issues, give the beta a try.
I've updated the readme at github to better reflect your experience setting up the python script. Let me know if there's anything else that would be helpful for other users installing the native app
(edit)
The instructions to put the .json in /usr/lib or /usr/lib64 were taken directly from the Firefox documentation for the native app API. On the chance you see this edit, would you mind opening a ticket at github and elaborating on why this incorrect?
(2) Hmm, yeah that probably should be in Unix (LF) Oops, I'll update
(3) That's what the Firefox Native Messaging API requires. Nothing I can do there.
Glad to hear you got it working. You might be the first that used the python script. Guess I'll have to keep it updated :(
Can you tell me which POST engines aren't working? I'll take a look.
1.2.1b6 in the beta section fixed a bug where {searchTerms} in POST was only replaced in the form params and not if it was also included in the url params. If that was causing your issues, give the beta a try.
I've updated the readme at github to better reflect your experience setting up the python script. Let me know if there's anything else that would be helpful for other users installing the native app
(edit)
The instructions to put the .json in /usr/lib or /usr/lib64 were taken directly from the Firefox documentation for the native app API. On the chance you see this edit, would you mind opening a ticket at github and elaborating on why this incorrect?
(2) Hmm, yeah that probably should be in Unix (LF) Oops, I'll update
(3) That's what the Firefox Native Messaging API requires. Nothing I can do there.
Glad to hear you got it working. You might be the first that used the python script. Guess I'll have to keep it updated :(
214 recensioner
- Betygsatt 1 av 5av Firefox-användare 19580027, för 4 månader sedan
- Betygsatt 5 av 5av postcards, för 4 månader sedan
- Betygsatt 5 av 5av Tony, för 4 månader sedanI was using Swift Selection Search until it got deprecated. Looking for an alternative I found ContextSearch. And if Swift Selection Search was good, ContextSearch is even better! A very customisable context search add-on.
- Betygsatt 5 av 5av potato, för 4 månader sedan
- Betygsatt 1 av 5av Firefox-användare 13916830, för 5 månader sedanRémálom! Van amikor működik, de többnyire nem, a beállított keresőt elfelejti vagy egyszerűen kihagyja a listából, a mappákba betenni valamit szinte lehetetlen, ha véletlenül sikerül, akkor pedig nem jeleníti meg.
- Betygsatt 4 av 5av TheInvoker, för 6 månader sedanSarebbe perfetta se nel campo di ricerca ci fossero i suggerimenti (almeno quelli di google) e fosse possibile aggiungere un traduttore
- Betygsatt 5 av 5av mserv, för 6 månader sedan
- Betygsatt 5 av 5av no1joel, för 6 månader sedan
- Betygsatt 5 av 5av Termy, för 7 månader sedan
- Betygsatt 3 av 5av eli@, för 7 månader sedanHabe eine eigene Suchmaschine erfolgreich hinzugefügt, die Einstellungen werden aber, trotz Speichern, leider nicht behalten. Alle Felder sind nach Neustart von Firefox wieder leer.
- Betygsatt 5 av 5av たやまみ, för 7 månader sedan
- Betygsatt 5 av 5av frostbyte, för 9 månader sedan
- Betygsatt 5 av 5av Beckanhaf, för 9 månader sedan
- Betygsatt 5 av 5av FoxRefire, för 9 månader sedan
- Betygsatt 5 av 5av Jean-Ricky, för 9 månader sedanMUCH MORE than contextual (select text & launch) search
MULTIPLE SITES (not only "whole web" - as Google & the likes) search engines AT ONCE
makes this add-on UNIQUE !
Besides, it is HIGHLY CUSTOMIZABLE : provides
• different KINDS OF OF MENUS (Context/Quick/Toolbar/Sidebar) to launch searches
• many UI CONFIGURATIONS OPTIONS to fit your likes
Just a [very] few points to note :
• too many options (time to master) ?
• missing tool-tips & not always detailed enough ones...
Whatever: unique & powerful
THANKS - Betygsatt 5 av 5av Firefox-användare 13443993, för ett år sedan
- Betygsatt 5 av 5av Firefox-användare 13163912, för ett år sedan
- Betygsatt 5 av 5av Paulthefox, för ett år sedanAbsolutley excelent add on can customise it as much as needed and works perfect
- Betygsatt 5 av 5av Steven_Aston, för ett år sedan
- Betygsatt 5 av 5av Piper, för ett år sedan
- Betygsatt 5 av 5av HypnotizedNarcissist, för ett år sedanthe best from the best
my respect mike
easy, fast, great lay-out, top add-on
thank you very much
btw. and always good updates - Betygsatt 5 av 5av Кадочников Сергей, för ett år sedanПрекрасное расширение, удобное, легко настраиваемое под себя.
- Betygsatt 5 av 5av Seän "Frostbyte" Shepherd, för 2 år sedan