You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Copy HTML-formatted text
A very simple request: Opera should be able to copy text with HTML-encoded formatting intact, as other browsers do. I realize that this has been requested many times, but I'm asking for it again. My reasons are:- I need it for my research work: I have a bibliography manager that can copy data on books and articles from Web pages and create bibliographical records from them, if the information is HTML-formatted. Why should I have to go to IE to do this?
- We are grown-ups out here. I realize that there is some security risk in copying HTML formatting, but I should be allowed to accept that risk to meet specific needs. If it is made an option that I can select through the Preferences dialogue, that will protect those who need protecting, and enable others to do necessary work in Opera.
- It is (checking my watch now) 10 years into the 21st century. Rigidly mandating plain-text-only copying leaves Opera stuck in the past, and helps keep it on the fringes of the browser world, instead of in the center, where it belongs.
Thanks for listening. If my reasons reflect some kind of misunderstanding, someone please help me understand better!
Windows 7 Pro 64-bit
Item, "Copy with formatting" = Go to page, "javascript:void(document.designMode='on')" & Delay, 300 & Copy & Delay, 300 & Go to page, "javascript:void(document.designMode='off')"
For buttons, use http://nontroppo.org/tools/buttonmaker/
The macro part being
Go to page, "javascript:void(document.designMode='on')" & Delay, 300 & Copy & Delay, 300 & Go to page, "javascript:void(document.designMode='off')"
Sorry to be a bit dense, this is my first time doing anything like this in Opera.
Windows 7 Pro 64-bit
If you put this in the addressbar
javascript:void(document.designMode='on')
then you should be able to edit text, copy it with formatting, etc.
If the error console shows an error then you'll have to upgrade to at least Opera 10.0x to use the button correctly.
http://www.opera.com/docs/specs/presto22/ says Presto 2.2 supports it though, which I think is what 9.6x uses?
Windows 7 Pro 64-bit
So, one more question, Frenzie: using designMode, do you find that you are able to copy HTML-formatted text with the formatting intact? For instance, can you copy such text and paste it into a Word document with fonts, italics, etc., intact?
Windows 7 Pro 64-bit

The Opera devs rarely comment on whether and when features may or may not be included. You are far from the first person to request this, and Opera have at no point I've seen said they are opposed to it, they're just as silent on it as they almost always are about new and requested features. No matter what happens with Opera there always seems to be a queue of feature requests that have gathered momentum for some time (CSS rounded corners was one of the biggest filled by Opera 10.5.) This is just the nature of development when you don't have an Infinite amount of monkeys and keyboards producing the software equivalent of Shakesphere. The best you can do is keep an eye on the Desktop Team blog and see if one of the snapshots there makes your day; or try and get a job at Opera and influence things from the inside.
MyOpera Community Optimizations — by fearphage
Scribit improved posting tools for the MyOpera Community — by xErath
Improve Weeklies Blog — by MisterE & fearphage
Originally posted by DavidR:
A very simple request: Opera should be able to copy text with HTML-encoded formatting intact, as other browsers do. I realize that this has been requested many times, but I'm asking for it again. My reasons are:
- I need it for my research work: I have a bibliography manager that can copy data on books and articles from Web pages and create bibliographical records from them, if the information is HTML-formatted. Why should I have to go to IE to do this?
- We are grown-ups out here. I realize that there is some security risk in copying HTML formatting, but I should be allowed to accept that risk to meet specific needs. If it is made an option that I can select through the Preferences dialogue, that will protect those who need protecting, and enable others to do necessary work in Opera.
- It is (checking my watch now) 10 years into the 21st century. Rigidly mandating plain-text-only copying leaves Opera stuck in the past, and helps keep it on the fringes of the browser world, instead of in the center, where it belongs.
Thanks for listening. If my reasons reflect some kind of misunderstanding, someone please help me understand better!
+1. I also use IE a lot for this task...
Originally posted by BtEO:
What you actually want is to get RTF data onto the clipboard, not HTML. But Opera doesn't support that currently either.
The Opera devs rarely comment on whether and when features may or may not be included. You are far from the first person to request this, and Opera have at no point I've seen said they are opposed to it, they're just as silent on it as they almost always are about new and requested features. No matter what happens with Opera there always seems to be a queue of feature requests that have gathered momentum for some time (CSS rounded corners was one of the biggest filled by Opera 10.5.) This is just the nature of development when you don't have an Infinite amount of monkeys and keyboards producing the software equivalent of Shakesphere. The best you can do is keep an eye on the Desktop Team blog and see if one of the snapshots there makes your day; or try and get a job at Opera and influence things from the inside.
Sorry, been away for a couple of days. The specific program I want to copy text for actually requires HTML-formatted copying; the fonts and so on were just the quickest thing I could think of to test formatted copying of any kind.
I use other "non-standard" software too, and I understand that developers who don't have Bill Gates behind them have to do triage on what gets added. (And I understand the reasons for not making specific promises.) But I also know that, as you say, this specific feature has been requested by many people for a long time. Really I was just adding my voice to the outcry.
I also tried to supply something of a rationale in the hope that that might be helpful. Maybe one of these days we'll get lucky.Windows 7 Pro 64-bit
Originally posted by DavidR:
So, one more question, Frenzie: using designMode, do you find that you are able to copy HTML-formatted text with the formatting intact? For instance, can you copy such text and paste it into a Word document with ]fonts, italics, etc., intact?
Precisely. Or at least in OpenOffice.org Writer. That's what it did for me in 10.0x, and does for me in 10.10 and 10.5x.
I know some IE versions can copy HTML formatting natively, and I routinely use the IE5 Power Tweaks in my IE6 to do the same task.
Everybody tells me Opera is a complete internet suite -- so when do we get this feature?
Gordon.
Sugar, greasy foods and Microsoft are dangerous to your health -- eat, drink and be merry!
____________________
Early to bed and early to rise makes a bloke crook, broke and stupid.
____________________
Opera 9.51, W2K Pro SP4 Rollup 1
[ Tweedo Monitor - Deluxe Website & Service Monitoring ]
Since opera can copy formatting in design mode it must be extremely easy to implement rich copying out of the box. Only copying of images (not urls) needs to be added
My Opera Wishlist (scan to see:)
http://bit.ly/heinrichpwishlistqrcode
Originally posted by s-a-s-h:
I use the "Copy with format" (same as the one Frenzie posted) Button with 10.61 and it copies images too. Not background (style) images but plain IMG tag images. The styling apart from the font-family and the colors is copied to, H's and A's remain H's and A's at least if I copy them to MS-Office ...
Since opera can copy formatting in design mode it must be extremely easy to implement rich copying out of the box. Only copying of images (not urls) needs to be added
Visit https://vivaldi.net - the new community set up by Jon S. v. Tetzchner and several former Opera employees. Many of us are already there and some of the employees too
My Opera Wishlist (scan to see:)
http://bit.ly/heinrichpwishlistqrcode