Logicify / chrome-research-plugin

Chrome plugin for internet researchers. Provides support for smart history, snapshots, etc.
1 stars 0 forks source link

Store images locally #22

Open lexaux opened 11 years ago

lexaux commented 11 years ago

For now, we store URLs only. Check how we could work this out with google space etc.

dkutetsky commented 11 years ago

You can try follow solution:

  1. When key combinations are pressed, create big div element with page body size, handle mouse click on it and remember coordinates.
  2. Hide or delete this div.
  3. Get html element on page based on coordinates, see - http://stackoverflow.com/questions/3942776/jquery-find-element-at-a-particular-position.
  4. Get element type (img, span, div) to know what we should do with it and do whatever you want.

This solution can save some performance and we can avoid of attaching event handlers on all elements on page, but I am not sure that it will work, so please try it.

invertedcrow commented 11 years ago

For store on google space, we need to get user autorization data. Only then all can be saved on google drive or sync with picasa. So, we need to create authorization component.