PoorLuzer 0 Report post Posted October 14, 2008 People, I need help - technical ones, to implement a need I have. I want to highlight certain text in IE 6 and insert some HTML code automatically into the corresponding section of the source code (DOM?). For example, I highlight some text in a web page opened in IE 6 and it gets highlighted in yellow (the script finds out which element corresponded to the selection and inserts/injects HTML to highlight it). OR I highlight some text in a web page opened in IE 6 and it gets transformed into a clickable link (the script finds out which element corresponded to the selection and inserts/injects HTML to turn it into a hyperlink). and so on ... Is this impossible to do? Has this been done before? Anyone even started out on doing this or something similar? [suggestions on Chrome, FireFox, Safari... you get the idea.. nopes not interested.. IE its gonna be] Share this post Link to post Share on other sites
PoorLuzer 0 Report post Posted October 14, 2008 Has this been done before?Anyone even started out on doing this or something similar?Seems someone wanted to do something similar but "disappeared":http://www.autoitscript.com/forum/index.php?showtopic=53220 Share this post Link to post Share on other sites
big_daddy 18 Report post Posted October 14, 2008 We did something similar here. Share this post Link to post Share on other sites
PoorLuzer 0 Report post Posted October 14, 2008 We did something similar here.This code seems to address the issue of highlighting - I believe I can get that done already.What I want to stress on is the "locate the element in the DOM/Source corresponding to the selected text/object in the rendered view" part.But thanks anyways for some cool highlighting code!However, hope everyone understands the primary focus of this thread now :-) Share this post Link to post Share on other sites