Comments (10)
Maybe the easiest solution would be to disable the native context menu completely on single-right-clicks and instead force it to only use the selected method dedicated to it, i.e. Shift, Alt, Ctrl, Double-Click, ... ?
I'm looking to see if there's a setting combination that will get you what you're looking for. Just for a sanity check, you want to be able to hold the right mouse button down for a certain length of time ( say 1 second ) and get no menus, (browser UI context menu or this addon's quick menu). Moving the default context menu to a double-click is already an option, but like you said, there doesn't seem to be a setting to then cancel opening the qm.
from contextsearch-web-ext.
PS: Made a small donation. Thank you again for this wonderful Addon! ... I am using it constantly.
Thank you so much! ... for the donation and the consistent feedback and suggestions. This addon is only what it is because of users like you who are willing to take the time to report bugs and make feature requests. Cheers!
from contextsearch-web-ext.
But here comes one little problem: Is there a way to use ContextSearch on other extension-pages too?
I'm guessing that functionality is disabled due to security concerns. As far as I know, you cannot inject code into another addon's pages, so the only option left to this addon is the searching via the context menu. It would be nice if there were a way, but the webextensions API is somewhat limited, so I'm afraid you'll have to continue relying on the context menu as a fallback.
from contextsearch-web-ext.
Thank you for your fast answer, ssborbis!
Ok, I understand. That's a pitty. So I have to stay with the native context-menu on other extension-pages.
But since its suppression/disabling does not work on those pages anyway ... is there a way to disable or delay it at least on regular pages? ... Right now it pops up after 1 second. After 10 seconds or so it couldn't be triggered by accident anymore. (Right now this still happens, also because I use the right mouse button for gestures.)
from contextsearch-web-ext.
But since its suppression/disabling does not work on those pages anyway ... is there a way to disable or delay it at least on regular pages? ... Right now it pops up after 1 second. After 10 seconds or so it couldn't be triggered by accident anymore. (Right now this still happens, also because I use the right mouse button for gestures.)
Just so we're on the same page, are you wanting to completely disable the quick menu? Also, if the menu is configured properly, you shouldn't see both the context menu and the quick menu at the same time, from the same right-click. It's a bit tricky because of how the mouse events work on different browsers, but there are some settings to hopefully prevent the double-menus on any system. Can you give a few more details about what exactly is happening, and what you want it to do differently?
from contextsearch-web-ext.
Thank you ssborbis, for looking into this!
I am talking about the "Quick Menu" aka "Popup Menu".
My settings are: Open it anywhere with a Right-Mouse-Click.
And on the settings page it says: "Hold right button ~1s and release for default context menu". ... and this is exactly what is happening! ... I never see both at the same time. All is working accordingly.
But what I would really like to have, would be the "1s" be increased to "5s".
The reason is: With my new hardware the Quick-Menu opens so quick :-) , that I made it my primary main Context Menu. And I actually don't really need the native one any longer. ... And now the hold-down-function of the right mouse-button gets freed for certain mouse gestures, which I would like to use. ...
And with them the native context-menu opening after 1s is annoying.
I already searched the web for firefox-addons or other ways to achieve this, but did not have any luck so far.
Could you help out with this, ssborbis?
from contextsearch-web-ext.
But what I would really like to have, would be the "1s" be increased to "5s".
Ah. Yeah, I think there's a setting for that. Lemme check...
Looking at the code, I think the setting quickMenuHoldTimeout
(CS Options -> Advanced) is doing double-duty for both the HOLD method and the CLICK method. Try changing that to a higher value. I'll test also, but my results may not match up with yours.
from contextsearch-web-ext.
Ok, I tried this here.
To describe more detailed: Here on my system 2 things can happen on the releasing of the right mouse button after a single click.
-
If I hold the mouse button down for a short time and then release it, the Quick Menu opens.
-
If I hold the mouse button down for a bit longer and then release it, the native menu opens. ... Even though I have set it to open with other methods (I tried several others).
Now if I increase the quickMenuHoldTimeout
... it only changes the time when the 1. behavior shifts to the 2.. ...
So there is no time-window opening, in which I could perform a hold-down-mouse-gesture without opening a menu.
Maybe the easiest solution would be to disable the native context menu completely on single-right-clicks and instead force it to only use the selected method dedicated to it, i.e. Shift, Alt, Ctrl, Double-Click, ... ?
Would this be possible?
from contextsearch-web-ext.
Firstly: Thank you ssborbis for looking into this again! :-)
I too, looked into this again just now. And very unexpectedly I found a solution. That is:
If I set ui.context_menus.after_mouseup
to false in about:config ... the native/default context menu does not appear anymore at all after holding down the right button for any amount of time. It only appears after the designated double click (or similar). ... Now the hold-down-button is finally freed to be used in mouse-gestures. ... Wonderful!
Sorry for not having checked the ui.context_menus.after_mouseup
in the first place and causing all that noise. :-/
from contextsearch-web-ext.
PS: Made a small donation. Thank you again for this wonderful Addon! ... I am using it constantly.
from contextsearch-web-ext.
Related Issues (20)
- How to click? HOT 14
- Vivaldi - Symbols are not displayed HOT 8
- open search page in a popup window HOT 13
- Search Engines get automatically added again after being removed
- no double-click event, trigger immediately HOT 2
- search bar not focused in popup menu
- Performance impact Speedometer 3.0 HOT 3
- I need help in Post-Search Script HOT 7
- "Copy to clipboard" tool doesn't work as expected in some cases. HOT 14
- Access pages with the scheme "chrome-extension://": hypothes.is PDF annotations HOT 3
- How to use Bookmarklets with Context Menu? HOT 13
- Auto theming makes the dark mode pale HOT 4
- Search Actions: Open In Current Tab works no more HOT 3
- How to add this searcg engin, it looks rare! HOT 5
- Possibility? Auto-copy image when i use {searchTerms} with context menu? HOT 2
- Feature request: Add option for dictionary popup HOT 3
- How to make a template for a website that doesn't have a searching URL HOT 10
- Version 1.46.25 (latest?) not working HOT 10
- There is no pop-up newtab after my selecting words on any webpage and hitting any search engine on the right-click menu.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contextsearch-web-ext.