Javascript - Selection text of web page



아주 간단 명료하게...

웹 페이지에서 텍스트 영역을 마우스로 긁은 상태에서

브라우저 주소표시줄에


javascript:document.selection.createRange().text


위 스크립트를 테스트해보면 알 수 있다...


(너무 심플..)

'Development > JavaScript' 카테고리의 다른 글

Javascript - Ajax module on OWA(MS Outlook Web Apps.)  (0) 2011.03.15
for Javascript  (0) 2011.03.08
Persisting Collapsible TOC State  (0) 2011.03.02
Add Twitter to your blog  (2) 2010.11.05
JSINQ - LINQ With JavaScript  (0) 2010.04.10