Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Javascript 2
#1
I have been working on the following for some time. When text on a website is selected, enter the following into your address bar and the selected text will be emailed to you.


javascriptConfusedelectedText=document.selection.createRange().text;selectedText=escape(selectedText);void(location.href='mailto:?BODY='+selectedText);

it is all one line
Alexander Adams
Hull, East Yorkshire
DOC member - 389
Reg of first D experience - HEC 6T
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)