Hi

Chrome extension which allows you to right click on selected text and search on multiple sites at the same time.

Wednesday, May 20, 2015

0.4 is here: groups finally!

I published earlier today 0.4... I'm on a roll! :)

This version implements a major feature, which was asked by many users ever since I started: grouped  links are now available. 
Each link now can be part of a group or not, that's up to you. Once the group property of a link is updated, the link will show up in a submenu under the group's name.
The "Search everywhere!" feature is both available at a root or at a group level.
It feels simple to configure, hope you think the same. 
I need to improve the group field, so it auto-completes values with existing groups names... Also, sorting groups might be necessary, though you can achieve that with sorting the links.
It's not quite finished, but it's getting there.

Change log:
- New groups feature
- Ability to turn "Search everywhere!" off 
- New UI for featured search engines and credits page
- Having multiple search engines with same name is now possible again
- Localization updates

Still pending:
- respect incognito options in "Search everywhere!"
- hide "Search everywhere!" if group contains only one link
- improve group UI
- add filter option for featured search engines. Maybe group them (it's a lot of search engines)

I should post a few screenshots but am on my iPad :P... Maybe next time.

That's it, hope you like it!

13 comments:

  1. Please, let it save its settins at the google account (see SwitchyProxy as example)

    ReplyDelete
  2. yes! that's on the wishlist :)

    https://trello.com/c/qucLoTai/28-check-storage-sync

    I need to figure out a nice transition to sync preferences before I do that :)

    thanks for the tip!

    ReplyDelete
  3. This is awesome, when will there be a Firefox version?

    ReplyDelete
  4. Hi Steve, I have no plans of porting this to FireFox :)
    I'll take a look at how complex it could be, though.
    Cheers!

    ReplyDelete
  5. Extension works great!
    I was looking for a way to take selected text from page and show it in menu item like you did but I couldn't do that even watching your code(
    The problem is that I use window.addEventListener("contextmenu", ... method and then send message by chrome.runtime.sendMessage to background script. Then I catch it in background script and update item. But it looks like chrome shows menu before background script get message. So I have updated menu item only next time menu is shown.
    Could you explain how you update menu item text before it shown?
    Thanks

    ReplyDelete
  6. Hi Vitally,
    To be honest, i've done this a long while ago so i don't remember the particulars.
    As far as i remember, and diggin a bit into my code, i don't "send" the context menu to the background script, but I create the context menu within it (the background script).
    That way, when creating the menu I specify it is to use the "selection" contextType, hence it uses it every time the menu is displayed.
    To be able to dynamically diplay the selection within the text of the menu, I placed %s within the title property when creating the menu.
    See the method "create" in this page: https://developer.chrome.com/extensions/contextMenus
    I hope it makes sense...
    Good luck!

    ReplyDelete
    Replies
    1. Diego, thanks for the answer.
      I reviewed your code (sss.background.js) hundred times but couldn't find where you replace %s to construct title.
      In "createMenu" method you just take string from i18n storage and just use it to create menu item!
      Could you please point me out where you replace %s with selection.
      I can't sleep because can't understand how it works )))

      Delete
    2. I reviewed code here https://github.com/frenetix/SimpleSelectSearch/blob/master/chrome/js/sss.background.js

      Delete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Hi, Chrome replaces %s automatically when you use %s as part of the string for "Title", and when using ContextType = "selection".
    In this case, the i18n value that returns is the following: "Search '%s' on", then Chrome automatically replaces %s with whatever it is selected (it's not me!!! :D).

    Makes sense?

    ReplyDelete
    Replies
    1. Thank you friend!!!
      You save my live)))

      Delete
  9. Hey man this is a great app! Is there any way that I can track the use of a particular search engine? I'm introducing this tool to my office, and it would be great to track the metrics on it. Thanks!

    ReplyDelete
  10. I hope you will add support to automatically maintain a section that is a mirror of your saved omnibar search engines (top part of that list) .. ifso I will definitely be downloading this!

    ReplyDelete