View Single Post
Old 02-14-2009, 11:00 AM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
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>
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote