当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

I did a COPY of some text from a web page, and then did a PASTE into notepad.exe (Windows). The text from each line was duplicated -- on the line! Instead of "Fred", it became "Fred Fred".

  • 1 件の返信
  • 1 人がこの問題に困っています
  • 2 回表示
  • 最後の返信者: cor-el

more options

I just recently installed Firefox for the first time. It seems nice and quick. The version is reported as: "10.0.1".

I wanted to save some text from a web page, so navigated to that page, selected the text, and pressed the Control-C combination to COPY the selected text to the buffer. For example, the text I selected looked something like this:

  Harry
  Ron
  Hermione
  Hagrid
  Albus

NOTE: Each line of text has a small icon to the left of the text. It is not reasonable to COPY and PASTE each line individually, as there can be hundreds of lines of data. I recall, however, that doing a COPY and PASTE on this data into Microsoft's Excel will produce cells which have the icons included in the cell, but unfortunately one cannot can't get rid of them! At least I've never found a way to remove them, but that's another issue.  :)

Once I'd done the COPY operation I switched to a Notepad window and did a PASTE operation. To my surprise, the text from each line was duplicated. It looked like this:

  Harry Harry
  Ron Ron
  Hermione Hermione
  Hagrid Hagrid
  Albus Albus

Thinking that there might be something unusual about the web page I looked at the source, but it appeared "normal" -- that is, as expected.

Note: I have done this operation several times before, and have never seen this occur before.

Note: In the actual data some of the lines have quoted text in them. Curiously there is weird behavior on these lines. In some cases the entire line is shown only once. (These occur at the top of the line, and the quoted text is at the beginning of the name.) When quoted text appears "later" in the name, in some cases the quoted text is duplicated, and in other cases the quoted text is missing altogether! I have also noticed an error with the quoted text, and so will be reporting that to the web site which generates the HTML.

Note that each line of "text" is "anchor text", so if I click on a name the browser navigates to a page for that name.

I believe that the problem is that the COPY operating in Firefox is not simply copying the visible text, but also the ALT=

Below is a sample of what the source HTML looks like:


<a class="lnk" target="_blank" href="http://details.aspx?id=Harry">                                
   <img width="16" height="16" alt="Harry" class="tb_icon" src="http://.../Harry.gif"/>
   <span>Harry</span></a>


(Because of the true length of the lines in the source HTML, I have stripped out the actual URL of the site.)

To make sure I wasn't imaging this difference I repeated the process within Internet Explorer. In that browser I did not get duplicated data.

I just recently installed Firefox for the first time. It seems nice and quick. The version is reported as: "10.0.1". I wanted to save some text from a web page, so navigated to that page, selected the text, and pressed the Control-C combination to COPY the selected text to the buffer. For example, the text I selected looked something like this: Harry Ron Hermione Hagrid Albus NOTE: Each line of text has a small icon to the left of the text. It is not reasonable to COPY and PASTE each line individually, as there can be hundreds of lines of data. I recall, however, that doing a COPY and PASTE on this data into Microsoft's Excel will produce cells which have the icons included in the cell, but unfortunately one cannot can't get rid of them! At least I've never found a way to remove them, but that's another issue. :) Once I'd done the COPY operation I switched to a Notepad window and did a PASTE operation. To my surprise, the text from each line was duplicated. It looked like this: Harry Harry Ron Ron Hermione Hermione Hagrid Hagrid Albus Albus Thinking that there might be something unusual about the web page I looked at the source, but it appeared "normal" -- that is, as expected. Note: I have done this operation several times before, and have never seen this occur before. Note: In the actual data some of the lines have quoted text in them. Curiously there is weird behavior on these lines. In some cases the entire line is shown only once. (These occur at the top of the line, and the quoted text is at the beginning of the name.) When quoted text appears "later" in the name, in some cases the quoted text is duplicated, and in other cases the quoted text is missing altogether! I have also noticed an error with the quoted text, and so will be reporting that to the web site which generates the HTML. Note that each line of "text" is "anchor text", so if I click on a name the browser navigates to a page for that name. I believe that the problem is that the COPY operating in Firefox is not simply copying the visible text, but also the ALT= Below is a sample of what the source HTML looks like: &lt;a class="lnk" target="_blank" href="http://details.aspx?id=Harry"> &lt;img width="16" height="16" alt="Harry" class="tb_icon" src="http://.../Harry.gif"/> &lt;span>Harry&lt;/span>&lt;/a> <br/> (Because of the true length of the lines in the source HTML, I have stripped out the actual URL of the site.) To make sure I wasn't imaging this difference I repeated the process within Internet Explorer. In that browser I did not get duplicated data.

この投稿は cor-el により に変更されました

選ばれた解決策

すべての返信 (1)

more options

選ばれた解決策