diff --git a/content/apply.js b/content/apply.js index 7ddbce3d..9b8c3213 100644 --- a/content/apply.js +++ b/content/apply.js @@ -189,14 +189,6 @@ function applyStyles(styles) { doExposeIframes(styles.exposeIframes); delete styles.exposeIframes; } - if (document.head - && document.head.firstChild - && document.head.firstChild.id === 'xml-viewer-style') { - // when site response is application/xml Chrome displays our style elements - // under document.documentElement as plain text so we need to move them into HEAD - // which is already autogenerated at this moment - ROOT = document.head; - } if (styles.needTransitionPatch) { // CSS transition bug workaround: since we insert styles asynchronously, // the browsers, especially Firefox, may apply all transitions on page load