How to set IE11 Document mode to edge as default?

The rendering mode in Internet Explorer 11 can appear stuck if the site is added to your local Compatibility View list. When this happens, the rendering mode inside the developer tools and out will default to the specified compatibility settings. While this may not be the only way a site can get on this list, … Read more

How do I dump JavaScript vars in IE8?

Here’s one technique that I’ve found helpful: Open the Developer Tool Bar (hit F12) Go to the “Script” tab Click the “Start Debugging” button Next, type “debugger” into the console and hit enter. This should trigger a break point. Go to the “Watch” sub-tab Click the row that says, “Click to add…” and enter a … Read more

IE crossing out pseudo element CSS?

This is a known issue, but the styles are in fact being applied. The developer tools thinks the pseudo-element styles are being overridden by the parent-elements corresponding styles. This is easily demonstrated by inspecting the Computed style of the parent-element and looking at (what the F12 tools believe to be) competing styles: Again, however, these … Read more

How to bring back “Browser mode” in IE11?

[UPDATE] The original question, and the answer below applied specifically to the IE11 preview releases. The final release version of IE11 does in fact provide the ability to switch browser modes from the Emulation tab in the dev tools: Having said that, the advice I’ve given here (and elsewhere) to avoid using compatibility modes for … Read more

‘console’ is undefined error for Internet Explorer

Try if (!window.console) console = … An undefined variable cannot be referred directly. However, all global variables are attributes of the same name of the global context (window in case of browsers), and accessing an undefined attribute is fine. Or use if (typeof console === ‘undefined’) console = … if you want to avoid the … Read more

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