-
May 18th, 2007, 02:58 PM
#1
[IE Addin] Copy HIGHLIGHT-Tagged Code From Fourms
Last edited by iPrank; May 19th, 2007 at 02:33 AM.
-
Jul 29th, 2008, 06:47 PM
#2
Lively Member
Re: [IE Addin] Copy HIGHLIGHT-Tagged Code From Fourms
Can u please do it for Mozilla Firefox
-
Jul 30th, 2008, 10:32 AM
#3
Re: [IE Addin] Copy HIGHLIGHT-Tagged Code From Fourms
Start making a new bookmark.
Name it VBcode.
Paste the following as URL:
Code:
javascript:var%20s=new%20Array();s=document.getSelection().split("#\r\n");var%20j=s.join('');document.innerHTML+='<textarea%20id="a"%20style="position:fixed;left:0;top:0;width:100%;height:100%"%20onmouseover="this.select()"%20onkeypress="history.go(-1)">'+j+'</textarea>'
Now when you select a text and click that button you can then push Ctrl + C to copy the text. It then returns back to the previous page and you have the text in the clipboard.
Accessing clipboard via JavaScript is disabled by default for security, this is why doing this kind of a trick.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|