diff --git a/modules/ve-mw/init/ve.init.mw.Target.js b/modules/ve-mw/init/ve.init.mw.Target.js index 7ab993af78..4c93e9defb 100644 --- a/modules/ve-mw/init/ve.init.mw.Target.js +++ b/modules/ve-mw/init/ve.init.mw.Target.js @@ -927,6 +927,16 @@ ve.init.mw.Target.prototype.getHtml = function ( newDoc ) { copyAttributes( oldDoc.documentElement, newDoc.documentElement ); copyAttributes( oldDoc.head, newDoc.head ); copyAttributes( oldDoc.body, newDoc.body ); + $( newDoc ) + .remove( 'div[id = myEventWatcherDiv]' ) // Bug 51423 + .remove( 'embed[type = "application/iodbc"]' ) // Bug 51521 + .remove( 'embed[type = "application/x-datavault"]' ) // Bug 52791 + .remove( 'script[id = FoxLingoJs]' ) // Bug 52884 + .remove( 'style[id = _clearly_component__css]' ) // Bug 53252 + .remove( 'div[id = sendToInstapaperResults]' ) // Bug 61776 + .remove( 'embed[id ^= xunlei_com_thunder_helper_plugin]' ) // Bug 63121 + .remove( 'object[type = cosymantecnisbfw], script[id=NortonInternetSecurityBF]' ) // Bug 63229 + .remove( 'div[id ^= mittoHidden' ); // Bug 68900#c1 // Add doctype manually return '' + ve.serializeXhtml( newDoc ); };