How to avoid HTML1500 Tag cannot be self-closing warning in IE when using embedded svg?

See this question: Are (non-void) self-closing tags valid in HTML5? Basically, HTML5 doesn’t really do self-closing tags. Instead it has void tags, like <br>. This also explains why <script> isn’t self closing when you are using an external js file; <script> isn’t a void element. The SVG you are writing is actually html, so it … Read more

Protect against browser extension injected Javascript code

Being able to disable someone’s browser extension usually implies taking over the browser. I don’t think it’s possible. It would be a huge security risk. Your purpose maybe legit, but consider the scenario of webmasters programatically disabling addblockers for users in order to get them to view the advertisments. In the end it’s the user’s … Read more

Internet Explorer 11 does not add the Origin header on a CORS request?

Internet Explorer’s definition of the “same origin” differs to the other browsers. See the IE Exceptions section of the MDN documentation on the same-origin policy: Internet Explorer has two major exceptions when it comes to same origin policy: Trust Zones: if both domains are in highly trusted zone e.g, corporate domains, then the same origin … Read more

IE9 – CSS3111: @font-face encountered unknown error

I found this answer, which addresses the question more directly than the accepted answer, which really, shouldn’t have been the answer 🙂 And now to our main highlight – the “CSS3111: @font-face encountered unknown error”. This error is very ambiguous. If you have a look at MSDN again, you’ll see its description says: “An unknown … Read more

How do I turn off Compatibility View on the IE WebBrowserControl in a WinForms app?

There is no way to do this other than configuring the following registry settings: HKLM\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION or if it’s a 32 bit app on 64 bit Windows: HKLM\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION` These settings aren’t surfaced in the WebBrowser control. For more information please see: What IE compatibility mode does the webbrowser control use? In case the link … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)