1
Vote

Doesnt appear to work in FF 3.0.13 - 3.5.2

description

I found your script today and it works perfectly in Internet Explorer 7. I tried it first in FF 3.0.13 but it doesn't remove the Word code. This is what is left:   <!--[if gte mso 9]><xml> </xml><![endif]--><!--[if gte mso 9]><xml> Normal 0 </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0; mso-font-charset:2; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face {font-family:"MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-alt:"MS 明朝"; mso-font-charset:128; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:fixed; mso-font-signature:1 134676480 16 0 131072 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:1627421319 -2147483648 8 0 66047 0;} @font-face {font-family:"Lucida Sans Unicode"; panose-1:2 11 6 2 3 5 4 2 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-2147476737 14699 0 0 63 0;} @font-face {font-family:"\@MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-1610612033 1757936891 16 0 131231 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:none; mso-hyphenate:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; mso-font-kerning:.5pt; mso-ansi-language:DE;} h1 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt; margin-left:21.6pt; text-indent:-21.6pt; mso-pagination:none; page-break-after:avoid; mso-outline-level:1; mso-list:l0 level1 lfo1; mso-hyphenate:none; tab-stops:list 21.6pt; font-size:16.0pt; font-family:Arial; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; color:navy; mso-font-kerning:.5pt; mso-ansi-language:DE;} h2 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt; margin-left:28.8pt; text-indent:-28.8pt; mso-pagination:none; page-break-after:avoid; mso-outline-level:2; mso-list:l0 level2 lfo1; mso-hyphenate:none; tab-stops:list 28.8pt; font-size:12.0pt; font-family:Arial; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; color:navy; mso-font-kerning:.5pt; mso-ansi-language:DE; mso-bidi-font-style:italic; text-decoration:underline; text-underline:single;} p.MsoHeader, li.MsoHeader, div.MsoHeader {margin:0cm; margin-bottom:.0001pt; mso-pagination:none; mso-hyphenate:none; tab-stops:center 207.65pt right 415.3pt; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; mso-font-kerning:.5pt; mso-ansi-language:DE;} p.MsoFooter, li.MsoFooter, div.MsoFooter {margin:0cm; margin-bottom:.0001pt; mso-pagination:none; mso-hyphenate:none; tab-stops:center 207.65pt right 415.3pt; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; mso-font-kerning:.5pt; mso-ansi-language:DE;} p.MsoList, li.MsoList, div.MsoList {mso-style-parent:"Body Text"; margin-top:0cm; margin-right:0cm; margin-bottom:6.0pt; margin-left:0cm; mso-pagination:none; mso-hyphenate:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; mso-font-kerning:.5pt; mso-ansi-language:DE;} p.MsoBodyText, li.MsoBodyText, div.MsoBodyText {margin-top:0cm; margin-right:0cm; margin-bottom:6.0pt; margin-left:0cm; mso-pagination:none; mso-hyphenate:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; mso-font-kerning:.5pt; mso-ansi-language:DE;} p.MsoBodyText2, li.MsoBodyText2, div.MsoBodyText2 {margin:0cm; margin-bottom:.0001pt; mso-pagination:none; mso-hyphenate:none; font-size:18.0pt; mso-bidi-font-size:12.0pt; font-family:"Lucida Sans Unicode"; mso-fareast-font-family:"Lucida Sans Unicode"; mso-font-kerning:.5pt; mso-ansi-language:DE;} span.WW8Num2z0 {mso-style-name:WW8Num2z0; mso-style-parent:""; mso-ascii-font-family:Symbol; mso-hansi-font-family:Symbol;} p.berschrift, li.berschrift, div.berschrift {mso-style-name:Überschrift; mso-style-next:"Body Text"; margin-top:12.0pt; margin-right:0cm; margin-bottom:6.0pt; margin-left:0cm; mso-pagination:none; page-break-after:avoid; mso-hyphenate:none; font-size:14.0pt; font-family:Arial; mso-fareast-font-family:"MS Mincho"; mso-bidi-font-family:Tahoma; mso-font-kerning:.5pt; mso-ansi-language:DE;} p.Beschriftung, li.Beschriftung, div.Beschriftung {mso-style-name:Beschriftung; margin-top:6.0pt; margin-right:0cm; margin-bottom:6.0pt; margin-left:0cm; mso-pagination:no-line-numbers; mso-hyphenate:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; mso-font-kerning:.5pt; mso-ansi-language:DE; font-style:italic;} p.Verzeichnis, li.Verzeichnis, div.Verzeichnis {mso-style-name:Verzeichnis; margin:0cm; margin-bottom:.0001pt; mso-pagination:no-line-numbers; mso-hyphenate:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Lucida Sans Unicode"; mso-bidi-font-family:Tahoma; mso-font-kerning:.5pt; mso-ansi-language:DE;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:1; mso-list-template-ids:1;} @list l0:level1 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:21.6pt; mso-level-number-position:left; margin-left:21.6pt; text-indent:-21.6pt;} @list l0:level2 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:28.8pt; mso-level-number-position:left; margin-left:28.8pt; text-indent:-28.8pt;} @list l0:level3 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:36.0pt; mso-level-number-position:left; margin-left:36.0pt; text-indent:-36.0pt;} @list l0:level4 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:43.2pt; mso-level-number-position:left; margin-left:43.2pt; text-indent:-43.2pt;} @list l0:level5 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:50.4pt; mso-level-number-position:left; margin-left:50.4pt; text-indent:-50.4pt;} @list l0:level6 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:57.6pt; mso-level-number-position:left; margin-left:57.6pt; text-indent:-57.6pt;} @list l0:level7 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:64.8pt; mso-level-number-position:left; margin-left:64.8pt; text-indent:-64.8pt;} @list l0:level8 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:72.0pt; mso-level-number-position:left; margin-left:72.0pt; text-indent:-72.0pt;} @list l0:level9 {mso-level-number-format:none; mso-level-text:""; mso-level-tab-stop:79.2pt; mso-level-number-position:left; margin-left:79.2pt; text-indent:-79.2pt;} @list l1 {mso-list-id:2; mso-list-type:simple; mso-list-template-ids:2; mso-list-name:WW8Num2;} @list l1:level1 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ascii-font-family:Symbol; mso-hansi-font-family:Symbol;} @list l2 {mso-list-id:424037823; mso-list-type:hybrid; mso-list-template-ids:-680110840 -230290108 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l2:level1 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ansi-font-size:10.0pt; font-family:Wingdings;} @list l3 {mso-list-id:501050706; mso-list-type:hybrid; mso-list-template-ids:-1341519138 -230290108 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l3:level1 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ansi-font-size:10.0pt; font-family:Wingdings;} @list l4 {mso-list-id:664474195; mso-list-type:hybrid; mso-list-template-ids:-1341519138 67698699 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l4:level1 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; font-family:Wingdings;} @list l5 {mso-list-id:943416006; mso-list-type:hybrid; mso-list-template-ids:-1155906856 -230290108 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l5:level1 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ansi-font-size:10.0pt; font-family:Wingdings;} @list l6 {mso-list-id:1107195206; mso-list-type:hybrid; mso-list-template-ids:2115399670 -230290108 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l6:level1 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ansi-font-size:10.0pt; font-family:Wingdings;} @list l7 {mso-list-id:1452047200; mso-list-type:hybrid; mso-list-template-ids:-1341519138 67698697 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693; mso-list-name:WW8Num23;} @list l7:level1 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; font-family:Wingdings;} @list l8 {mso-list-id:1974208764; mso-list-type:hybrid; mso-list-template-ids:-1155906856 67698695 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693; mso-list-name:WW8Num22;} @list l8:level1 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ansi-font-size:8.0pt; font-family:Wingdings;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} -->           I have the switch to plain editor button enabled so I can see that after the paste nothing has been removed, if I click back in the text area then click the button again it removes a large chunk of the code but leaves this code in there:   <!--[if gte mso 9]><xml> </xml><![endif]--><!--[if gte mso 9]><xml> Normal 0 </xml>   If I then place the cursor at the start of the text and press the backspace key it then deletes all the above code and is in the same state as when pasted into IE7. This happens on both FF 3.0.13 and 3.5.2. I then got a colleague to test it and they are using FF 2.? and they said it was working fine. So i then installed FF 2.0 and it works fine on my machine as well - just like on IE7.   Any idea what's going on? I have an old version of word installed - 2000. Dont know if that makes any difference.   I've attached the file that i'm copying from too if that helps.   Thanks for your help :)

file attachments

comments

venustus wrote Aug 25, 2009 at 1:47 AM

I am also facing the same issue. But, I could not make it work on FF 3.5.2 even after placing the cursor at the start of the text and pressing the backspace key. It works on IE7 for me. I am using Word 2007.

wrote Feb 13, 2013 at 1:59 AM