Note that there are some explanatory texts on larger screens.

plurals
  1. POIE injects VBScript tags in the middle of rendering, causing malformed HTML
    text
    copied!<p>For some reason, it seems like IE9 (I believe IE8 too, but not sure), is injecting </p> <pre><code>&lt;SCRIPT LANGUAGE=VBScript&gt;on error resume next pluginFound = IsObject(CreateObject("DIFFERENT PLUGIN EVERY TIME")) </code></pre> <p>in the middle of my content without any regards to surrounding context. This means it gets added in the middle of an attribute, or in the middle of some JavaScript, causing the HTML to be malformed and causing all sorts of problems. </p> <p>This happens on multiple computers with different plugins, so it's not machine specific. And it's also not consistent: the location in which the offending script gets injected varies, the offending script varies. Sometimes you'll get several page loads without a problem and then you'll get the broken HTML.</p> <p><img src="https://i.stack.imgur.com/UFJPN.png" alt="Developer Tools"></p> <p>My page is using a fair amount of JS, but nothing crazy. It's currently using jQuery, Google Maps, Bootstrap, Google Tag Manager, and loading a couple of Twitter, Google+, Facebook Iframes with their own little JS snippets. So, there are some asynchronous callbacks happening, but I wouldn't think this would interfere with how the browser renders the DOM and when it decides to inject plugin code. </p> <p>You can see the problem if you reload <a href="http://www.rew.ca/properties/search/839721" rel="nofollow noreferrer">http://www.rew.ca/properties/search/839721</a> enough times. If you scroll to the bottom of the page, you'll see raw JSON, or sometimes just some random HTML snippet will show in the middle of the page (because of mismatched tags).</p> <p>Any ideas of why these scripts get injected arbitrarily and how to work around that?</p> <p>Thanks</p> <p>[UPDATE] Here's another example of the script tags getting included in the middle of HTML content: <img src="https://i.stack.imgur.com/fJUHO.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload