ContextSearch web-ext 的评价
ContextSearch web-ext 作者: Mike B
Mike B 的回应
开发者回应
发布于 6 年前(edit) 12-15
> I - Search results from words inside quotes are not highlighted, ie "web analytics"
This is mostly fixed now. I haven't done extensive testing but results look good so far. The behavior in 1.9.3 is to look for literal " in the search results, which obviously most engines don't interpret as part of the search term
> I - Only the first page of search results highlight the search term, subsequent pages don't.
This one might get messy but I'm trying a few things.
> I - When a search results page is opened the search words are not highlighted.
Do you mean in the search bar itself on the results page? No, the API I'm using doesn't look in text input fields from what I can tell. Doing so with highlighting colors would require some fancy overlays and a lot of time.
I'm working on a basic find bar. From your suggestions it looks like you want a straight-up replacement for findbar tweak. I can use that as a reference but the webextension API is limited and there are some things that simply can't be done.
> Do you have a webage for donations via paypal or something similar ?
I don't, but you can help development by giving feedback at the github site. I don't receive notifications when comments here are edited, making it difficult to keep a conversation going. I think I have a good idea what you're after though.
(edit) 12-6
I took a quick look at some images of find-bar. Looks similar to the 'find' feature in android chrome - highlights text, provides a nav bar representing the document map with found words, etc. FF has an API available but to keep Chrome compatibility looks like I need SVG overlays and other workarounds. I'll look into it but don't expect anything too soon.
(edit) 12-6 #2
Found a library (mark.js) that does a good lightweight highlighting and integrates with CS pretty well. Already tested on page results with simple highlighting. I might get something set up sooner than I thought.
(edit) 12-6 #3
Basic functionality is in the repo. If you're familiar with sideloading for debugging you can test it out. Otherwise wait for the next release and it will be there.
https://github.com/ssborbis/ContextSearch-web-ext
Looks like FF has a find API that can highlight words in a webpage. Are you looking for something that essentially mimics ctrl-F ?
> I - Search results from words inside quotes are not highlighted, ie "web analytics"
This is mostly fixed now. I haven't done extensive testing but results look good so far. The behavior in 1.9.3 is to look for literal " in the search results, which obviously most engines don't interpret as part of the search term
> I - Only the first page of search results highlight the search term, subsequent pages don't.
This one might get messy but I'm trying a few things.
> I - When a search results page is opened the search words are not highlighted.
Do you mean in the search bar itself on the results page? No, the API I'm using doesn't look in text input fields from what I can tell. Doing so with highlighting colors would require some fancy overlays and a lot of time.
I'm working on a basic find bar. From your suggestions it looks like you want a straight-up replacement for findbar tweak. I can use that as a reference but the webextension API is limited and there are some things that simply can't be done.
> Do you have a webage for donations via paypal or something similar ?
I don't, but you can help development by giving feedback at the github site. I don't receive notifications when comments here are edited, making it difficult to keep a conversation going. I think I have a good idea what you're after though.
(edit) 12-6
I took a quick look at some images of find-bar. Looks similar to the 'find' feature in android chrome - highlights text, provides a nav bar representing the document map with found words, etc. FF has an API available but to keep Chrome compatibility looks like I need SVG overlays and other workarounds. I'll look into it but don't expect anything too soon.
(edit) 12-6 #2
Found a library (mark.js) that does a good lightweight highlighting and integrates with CS pretty well. Already tested on page results with simple highlighting. I might get something set up sooner than I thought.
(edit) 12-6 #3
Basic functionality is in the repo. If you're familiar with sideloading for debugging you can test it out. Otherwise wait for the next release and it will be there.
https://github.com/ssborbis/ContextSearch-web-ext
Looks like FF has a find API that can highlight words in a webpage. Are you looking for something that essentially mimics ctrl-F ?