Jump to content

Force IE to not use Compatibility Mode (even in an intranet)


DickyDoDah!

Recommended Posts

Hi,

I had a problem with IE9 whereby I needed my Intranet pages in compatibility mode but this screwed up the Recording Service Webinterface on local machines. I also found a problem when browsing from work using IE9 where I always had to force a page refresh before it would display correctly. I had given up trying to fix the second problem as I guessed it was something to do with the works PC which is locked down tight so I can't change anything. Ironically this fixed cured both problems.

If you add;

<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

to the index.html file in the DVBViewer\SVCweb folder it forces IE8 and IE9 to render the page using the latest rendering engine.

 

I'm no webpage designer so this may be incorrectly formatted but it does work. Any corrections would be welcome and perhaps it can be added to the next release?

 

 

The whole file;

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>DVBViewer Media Server {version} ({host})</title>
<meta http-equiv="expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<link rel="shortcut icon" type="image/png" href="recservice.png">
</head>
<frameset rows='68,*' border='0' >
<frame name='top' scrolling='no' src='top.html' noresize='noresize' frameborder='0'>
<frame name="main" scrolling='no' noresize src="{loginpage}">
<noframes>
<body>
<p>Your browser doesn't support Frames!</p>
</body>
</noframes>
</frameset>
</html>

Link to comment
×
×
  • Create New...