wmaillard / shellinabox

Automatically exported from code.google.com/p/shellinabox
Other
0 stars 0 forks source link

Can not copy from/to outside of shallinabox window #163

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Mark text in a shell in a box browser windows
2. Click right mouse button and select copy
3. Click right mouse button in the notepad and try to select paste

What is the expected output? What do you see instead?
You should have possibility to select paste, so the text marked in a 
shellinabox browser windo could be pasted to a notepad. 
You will not be able to select paste. 

What version of the product are you using? On what operating system?
Any version

Please provide any additional information below.

Original issue reported on code.google.com by pafcio...@gmail.com on 5 Feb 2012 at 8:42

GoogleCodeExporter commented 8 years ago
This is a limitation in the security model that browsers enforce. There is not 
much that we can do.

With some browsers, you can at least select text in ShellInABox and then pick 
"Copy" from the browser's menubar. This then allows you to paste into other 
applications. Usually, the reverse (i.e. pasting into ShellInABox) still 
doesn't work though.

This issue comes up every so often; both for ShellInABox and for other web 
applications. But as far as I know, there is no officially standardized way to 
lift this restriction in the browser. Possibly, a native-code plugin would 
help, but there are also issues with that -- and it looks as if browser support 
for doing this is going away in the near future, anyway.

Original comment by zod...@gmail.com on 5 Feb 2012 at 8:47

GoogleCodeExporter commented 8 years ago
Well, i am not programmer, but saw that in Ajaxterm, which demo you can see 
here: http://demos.anyterm.org/ajaxterm_nano/. There you can mark text, righ 
click, select copy and then paste it outside Ajaxterm window. 

Original comment by pafcio...@gmail.com on 5 Feb 2012 at 9:30

GoogleCodeExporter commented 8 years ago
My 2 cents... add something to the right-click menu that creates a javascript 
"prompt()" window that contains the shellinabox clipboard. then you can copy 
the text out and/or paste new text in.

Original comment by Sean....@gmail.com on 11 Feb 2012 at 3:30