Capturing data from browser

Hello,

With the new browser security is it possible to grab text or URLs and put it into a gadget Maybe via a custom right-click menu or similar

Thanks,
Ty



Answer this question

Capturing data from browser

  • flypp3r

    I believe a gadget should be able to access running IE instances, and observe what they are displaying. While I haven't actually done it, I'd suggest checking out the "Accessing the Internet Explorer Object Associated with an Accessible Object" section of the following link; it describes a mechanism by which you can access the DOM of a running IE instance, via the accessibility APIs:

    http://msdn.microsoft.com/library/default.asp url=/workshop/browser/accessibility/overview/overview.asp

    Let me know if that isn't clear, or if it doesn't work.


  • safighassan

    Hello and thanks for the quick reply.

    I'd like to have my gadget be aware of what pages the user is browsing and then automatically bring bits of text, URLs, etc. from the visited web pages into the gadget. With what I see of Vista's new security, this doesn't seem possible.

    Alternately, I could live with having a user highlight and/or right-click over text, URLs to bring them into the gadget.

    Possible

    Thanks,
    Ty


  • GoDaddy

    I tried this a while back by trying to access the DOM in the window opened by my Gadget, but couldn't get it to work. Has anyone else tried another way and got it to work

    Andy



  • Carlos Mendonça

    Could you outline your scenario in more detail I'm not sure if you're talking about performing actions on a web page, that then interacts with a gadget; or if you're just talking about doing stuff inside the gadget itself.
  • Capturing data from browser