Is it possible to highlight text on a webpage and then examine the html with javaScript? (Let's say the javascript spits the HTML into another DIV)
I'm building an extension for chrome and I want to a user to be able to highlight text and I want the extension to be able to do two things: Copy that text (in an textarea/input or in span/div/any-element or examine the HTML of the selected text within a span/div/any-element.
This is all under the assumption that chrome has the ability to edit & examine the DOM. I believe this to be the case because of this warning I received in GC's extensions manager
This tells me that the extensions have some access. To at least the page address. Is there more access?