heres another example
use the same reg file/method as above but point to this js
it will allow you to select a block of text or area of any webpage you are on and get the source code for just that part you have highlighted with your mouse.
Code:
<SCRIPT LANGUAGE="JavaScript" defer>
var selectedHtml=(external.menuArguments.document.selection.createRange()).htmlText;
if(selectedHtml!= "")
external.menuArguments.clipboardData.setData("Text",selectedHtml);
</SCRIPT>