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.

詳しく学ぶ

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

Firefox removes href attribute for any HTML control on copy-paste. for e.g. iFrame

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

more options

Hi Support,

I have a text along with the image used as a hyperlink as follows.

"Sample Text.<a href="javascript:myfunction()"><img title="sample image" src="sample.gif" /></a>"

When i copy the above text and paste it inside a HTML Control (for e.g. iframe), the control removes the href attribute of 'anchor' tag. It happens only with firefox and safari. It is working correctly in internet explorer.

"Sample Text.<a ><img title="sample image" src="sample.gif" /></a>"

Is there any solution for this.? Awaiting for sooner response

Try clicking on the below link

http://screencast.com/t/sXq6BcZvJB

Hi Support, I have a text along with the image used as a hyperlink as follows. "Sample Text.&lt;a href="javascript:myfunction()">&lt;img title="sample image" src="sample.gif" />&lt;/a>" When i copy the above text and paste it inside a HTML Control (for e.g. iframe), the control removes the href attribute of 'anchor' tag. It happens only with firefox and safari. It is working correctly in '''internet explorer'''. "Sample Text.&lt;a &gt;&lt;img title="sample image" src="sample.gif" /&gt;&lt;/a&gt;" Is there any solution for this.? Awaiting for sooner response Try clicking on the below link http://screencast.com/t/sXq6BcZvJB

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

選ばれた解決策

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).

この回答をすべて読む 👍 0

すべての返信 (4)

more options

Does that also happen here if you switch to HTML source and paste?

more options

Yes, it also happens in HTML source and paste.

more options

選ばれた解決策

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).

more options

Tried starting Firefox in Safe Mode but it is still not working. Please help me out!