everymark

code, tools Tagged with: ,
Nov 272009

everymark i have just finished writing my first google chrome extension. took my half a day overall, few of hours here and there, but compared to firefox the red-tape stuff was much easier.

actually it is very simple, you make a new direcotry, and create ‘manifest.json’ description file, it includes all of the extension official stuff, like name, version, description and permissions. it also include pointers to other files – html and javascripts.

that’s it, from here it is plain web: html/css and javascript.

one thing worth mentioning is that if you change the manifest file you need to explicitly reload your extension on your chrome://extensions/ page, otherwise things like permissions are not updated. other stuff like html/javascript files are reloaded each time you invoke your extension, so no need to do nothing on this case.

what i was working on? well, long time ago i have found out that the old school method of cataloging things and then searching them by their location is not very effective, you pay a lot of time on the WRITE side and you pay as well on the READ side, using metaphor from the database world.

the search capability of everything and sublime text projects are far better, just see all the database as one flat list and start filtering it by your search term. so that what i did on my bookmarks, and here is the result:

everymark – ‘everything’ search on my bookmark.

when clicking the icon, a nice popup will appear, populated with a list of all your bookmarks and their links, whenever you start typing search terms the list will shrink to contain only the relevant bookmarks – neat :) – any way enjoy.

everymark-screenshot

btw, for references about writing the extension i have use the following pages:

http://code.google.com/chrome/extensions/devguide.html
http://code.google.com/chrome/extensions/api_index.html
http://code.google.com/chrome/extensions/tut_debugging.html

* * *

revisions:

v1.8.3 startup speed improvements on favicons
v1.8.2 fixed selection bug on v1.8.1
v1.8.1 un-obfuscated
v1.8 show full URL as tooltip on hover
v1.7.1 show full URL as tooltip on hover
v1.7 show sites’ favicons
v1.6.1 better visualization on deletion of bookmark
v1.6 sort by date, double click to open, tooltip on extension icon
v1.5.1 filter bookmarklets (thanks to Darío Macchi), better context menu
v1.5 columns can be sorted, revised context menu
v1.4 added context menu (right click) with option to delete bookmark
v1.3.1 filter groups/folders from the list
v1.3 wraps row selection on table edges
v1.2.1 supports auto-update
v1.2 supports multiple search terms (space separated)
v1.1 supports manual selection with arrow keys and launching with enter key
v1.0.2 few minor fixes
v1.0.1 added extension icons
v1.0 initial release

35 Responses to “everymark”

  1. ArpitNext says:

    Just tried your extension. Really nice. Very useful for heavy bookmarkers like me. Well done!

  2. [...] Install Everymark from developer’s site. [...]

  3. Searching says:

    Nice extension. I look forward to future revisions!

    The one thing I would like it to have is the ability to not have to use the mouse. ie. hotkey to bring it up, and more importantly ‘type to search’ then arrows keys that let you move a highlighted line down through the found results. It would get daily use from me then :)

  4. ofer affias says:

    @Searching good idea, i will include it on the next version.

  5. ofer affias says:

    @Searching try it now

  6. Hi. This extension isn’t working in the latest dev build of Chrome for Linux.

  7. Clicking on the icon brings up a grayed out popup. Can’t do anything with it. And then it often crashes my browser. Going to have to disable and maybe uninstall the extension.

  8. ofer affias says:

    @Geoffrey please try uninstalling the extension and using version v1.0.2, and let me know how it went. by knowing if it made any difference i might isolate the problem.

  9. Thanks. I just tried that, but I’m still experiencing the same problems.

  10. ofer affias says:

    @Geoffrey my guess is that it’s a bug on chrome’s api on its linux build. my suggestion is to try it out again in few weeks/months it might be that it will solve itself.

  11. jim says:

    Question- Is it possible to search through all of my bookmarks through the main search box in chrome? I presume it isn’t, b/c then you wouldn’t have made this awesome extension. but anyway, I’m curious. thanks!

  12. ofer affias says:

    @jim no, as far as i know.

  13. Darío Macchi says:

    This is a wonderful extension. Can I suggest two things?

    1) I think that you can avoid bookmarks that start with “javascript:” (bookmarklets)
    because some of this break the table.

    2) Add some time between the last keystroke and the search execution, because the flickering is annoying .

    If you don’t have time to do this I can send you my “patched” version in order to share with everybody.

    Thx!

  14. ofer affias says:

    @Darío thanks for the feedback, see release 1.5.1

  15. jose says:

    ofer, i tried the latest release and it would not work … even after uninstalling it twice and reinstalling it. However, your tip Geoffrey in the comments above to install version v1.0.2 did work for me. I’m on Windows XP, SP3. I’m also using the latest Chrome release (4.0.249.30). Thanks for building this extension. It’s just what I needed since I have TONS of bookmarks from over the years!

  16. ofer affias says:

    @jose there was a major change between v1.0.2 and v1.1, the addition of the ability to use the keyboard to select and launch tabs required more complex javascript methods. i’ll try checking it on xp, but it could take a while to get there. i don’t know if you tried, but it could be a good idea to step backward from the latest release till you get a release which works for you, it could be that there is a newer release than v1.0.2 that works for you.

  17. otmar says:

    Thanks You,
    I would like to add more advanced features:

    - bookmarks in the sidebar panel (as in Firefox)
    - search in bookmarks description
    - add icons for bookmark folders

    I have about 1500 bookmarks, and a chrome hard for me to manage :)

  18. [...] instantly bookmark every page which interests you (no need to find which folder suites best, just bookmark it), while retrieving the page afterwards becomes a breeze [...]

  19. andrexus says:

    I want to quote your post in my blog. It can?
    And you et an account on Twitter?

  20. ofer affias says:

    @andrexus sure, go ahead (i don’t twitter…)

  21. Osh says:

    I would like to add on @Searching request and ask for a hotkey to bring the everymark searchbox to front. Something to replace the redundant mouse click on the everymark button.
    Thanks a lot for this great extension.

  22. Jakob says:

    I really love your extension!
    But I wonder if you could add a feature to search through history, too.
    Maybe if you begin your query with h ?
    That would make chrome more convenient to use.
    Great work!

  23. nicedog says:

    crash on ubuntu

    Linux ruby 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux

    chrome 4.0.249.43

    As soon as you click on the everymark icon, it shuts down chrome entirely.

  24. ofer affias says:

    @nicedog: the extension was not tested on linux, it may be immaturity of chrome build for linux as well.

  25. franco says:

    Works on Linux, at least in google-chromium.
    Simple, essential. Enough for me.

  26. rmwilliamsjr says:

    i’m getting a line of “undefined” at the very bottom of the pop up.
    chromium 5.0.330.0 (39184) Ubuntu

  27. aresjj says:

    Hi, this is really nice. I love the keyboard features.

    I would really like a keyboard shortcut to open everymark. Preferably customisable.

    This would make me use the plugin a lot more.

    Thanks :)

  28. Alain says:

    @ofer affias: Hi. This is a great idea. Congratulations and thanks. Right now I’m in a situation (Xmarks inconsistency between my Firefox and my Chrome) where I need to find my last added bookmarks (actually, the ones I added after May 31). Could you give me a light on how to do it?

  29. ofer affias says:

    @alain: thanks for the feedback! to find out bookmarks you have added after certain date, you should open the extension popup, and click on the column title named ‘Days’ your entire bookmarks will be sorted by date. the number showed for each bookmark represents the time past since you have added your bookmark in days. bottom line you should look for all the bookmarks which has number of days of under 20 days.

  30. Alain says:

    Oh, I’m using Chrome 5.0.375.70 and can’t see anything but a white box when I press everymark’s button. Should this be happening?

  31. ofer affias says:

    @alain: no… even if no bookmark exists, you should see an empty table and search bar.

  32. Alain says:

    It’s ok now. It’s just slow. (Lots and lots of bookmarks…) And the “days” thing works. Thanks! :)

  33. Alain says:

    One question/suggestion: is it possible to open it in a tab, instead of a popup? Everytime I click the popup it closes after. It’s kinda annoying to open it again, wait or it to resort by date, then clicking and having to do it all over again.

  34. Alain says:

    Hey, found a way around it: right-click it’s icon, select “inspect popup” and minimize the inspection window. Even if it’s not focused, it will keep the popup being shown, even if its clicked. This I got to open all the search results I wanted without having to reload the search after each click.

Leave a Reply

(required)

(required)

Please leave these two fields as-is:

© 2010 Virtual Clouds Suffusion WordPress theme by Sayontan Sinha