Comments (2)
That message you are seeing no double-click event, trigger immediately
is indicating that you don't have a double-click search action also assigned to the mouse button you are using, and therefore the addon won't wait to check for a second click event on the search engine. Instead, it will trigger the search immediately on the first click.
Did you have another question regarding your script? Also, is the background tab issue with Edge happening only with your script, or with this addon? I'll check also.
from contextsearch-web-ext.
A script search
B script search
text select
quick menu A or B click
first script search icon click work
but not work when script search icon click until page reload
just console.log no double-click event, trigger immediately
Edge quick menu search icon new tab open and focus search tab
not work background tab open
so i try script
i try
let searchText = (Text) => {
let SearchWord = Text.replace(/\s&\s/g, ' ').split(/\s-\s/)
SearchWord = SearchWord.map(e => e.replace(/\n/g, '').trim())
SearchWord[0] = SearchWord[0].replace(/[^[:alnum:]]/g, '').replace(/\s/g, '')
SearchWord[0] = /\s-\s/.test(Text) ? SearchWord[0] : Text
return SearchWord.join(' ')
}
to
function searchText(Text){
let SearchWord = Text.replace(/\s&\s/g, ' ').split(/\s-\s/)
SearchWord = SearchWord.map(e => e.replace(/\n/g, '').trim())
SearchWord[0] = SearchWord[0].replace(/[^[:alnum:]]/g, '').replace(/\s/g, '')
SearchWord[0] = /\s-\s/.test(Text) ? SearchWord[0] : Text
return SearchWord.join(' ')
}
so fine work
from contextsearch-web-ext.
Related Issues (20)
- 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.
- CS Toolbar as a major Browser Search Engine HOT 9
- CTRL+Click Issue and Tools Menu Issue HOT 4
- Content Security Policy Issue? HOT 4
- Is it possible to make the outline of the 'quick menu' square? HOT 2
- About auto copy text. HOT 6
- Search Engine Issues with React framework? HOT 8
- the highlight feature doesn't work anymore? HOT 6
- searchTerms with multi lines selection problem? HOT 9
- "Search engines manager" invisible buttons HOT 1
- Input Cursor HOT 8
- "Quick Menu" should be hidden in a text field when I type HOT 8
- link search doesn't get disabled HOT 3
- feature request: enable filtering based on element for recent search engines. HOT 1
- Open Image in external Viewer HOT 7
- Feature request: Automatically select Google as search engine after selecting text HOT 3
- How to disable items for non-images? HOT 2
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.