Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Why don't web browsers use SMART copy, cut and paste?

  • 6 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: FredMcD

more options

I'm used to cut, copy and paste commands being smart about spaces before or after the affected text. For example, if I cut a word out of a sentence, I shouldn't be left with two spaces. Instead, one of those spaces should disappear with the word. Similarly, when I paste a word in it shouldn't be stuck up aginst an adjacent word, there should be a space automatically added. As I'm sure you know, this is the common behaviour in all editing apps, and has been so for at least the last 33 years or so, since the Mac came out. But not in browsers. Since this is true of all the browsers I've tested, I'm wondering why? Anyone have a definitive answer? Anyone have a workaround?

Thanks

I'm used to cut, copy and paste commands being smart about spaces before or after the affected text. For example, if I cut a word out of a sentence, I shouldn't be left with two spaces. Instead, one of those spaces should disappear with the word. Similarly, when I paste a word in it shouldn't be stuck up aginst an adjacent word, there should be a space automatically added. As I'm sure you know, this is the common behaviour in all editing apps, and has been so for at least the last 33 years or so, since the Mac came out. But not in browsers. Since this is true of all the browsers I've tested, I'm wondering why? Anyone have a definitive answer? Anyone have a workaround? Thanks

모든 댓글 (6)

more options

https://addons.mozilla.org/en-US/firefox/addon/copy-as-plain-text/ Copy As Plain Text Removes formatting from copied text.

more options

Thanks Fred. That linked page has this in it... "NOTE: An unsigned updated version with new features is available on the forum. There are significant updates and fixes with this version. They will be included in the next version that shows up here, but you can start using them right away by downloading from the forum." Alas, when I click the link on the word 'forum', I get a page full of PHP errors. Something about that makes me reluctant to install this addon, so I'll just ask: does this addon also correctly add a space when required during a paste? Nothing in the addon description mentions that.

Thanks

more options

Hi  !

This replaces the above mentioned add-on and is compatible with
Firefox 57+ :

https://addons.mozilla.org/en-US/firefox/addon/copy-plaintext/

If however, this add-on does what you want : I guess you could give it a try and find out .....

글쓴이 Happy112 수정일시

more options

Thanks for the suggestion.

Installed, restarted FF... addon doesn't do anything as far as I can see. They suggest changing the system-wide behaviour of the function keys (which I won't do for one addon) to get their keyboard shortcuts to work.

Oh well.

I'm still wondering why cut, copy and paste don't work in browsers the way they do everywhere else in my system. Anyone know?

more options

rstevenson said

I'm still wondering why cut, copy and paste don't work in browsers the way they do everywhere else in my system. Anyone know?

Quite frankly : I've never even given it any thought, for I always click where I want, whatever it is I want to paste, to 'land' - never thought of it as too much hassle .....

more options

With the add-on I posted, what you do is mark the text you want, then right-click and select Copy As Plain Text.

The other add-on should be much the same.

In using the add-on, spaces before and after are removed. Only the text is copied. No command scripts.