mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-02 11:20:49 +02:00
#15 fix HTML5 for IE
This commit is contained in:
@@ -1,5 +1,20 @@
|
|||||||
AddEncoding gzip .gz
|
AddEncoding gzip .gz
|
||||||
|
|
||||||
|
<FilesMatch "\.js\.gz$">
|
||||||
|
ForceType text/javascript
|
||||||
|
Header set Content-Encoding: gzip
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch "\.mem\.gz$">
|
||||||
|
ForceType application/octet-stream
|
||||||
|
Header set Content-Encoding: gzip
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch "\.data\.gz$">
|
||||||
|
ForceType application/octet-stream
|
||||||
|
Header set Content-Encoding: gzip
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteCond %{HTTP:Accept-Encoding} gzip
|
RewriteCond %{HTTP:Accept-Encoding} gzip
|
||||||
RewriteCond %{REQUEST_FILENAME}.gz -f
|
RewriteCond %{REQUEST_FILENAME}.gz -f
|
||||||
|
@@ -1,8 +1,9 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head><title>OpenLara</title><head>
|
<head><title>OpenLara</title></head>
|
||||||
<body>
|
<body>
|
||||||
<span id="status">Starting...</span>
|
<span id="status">Starting...</span>
|
||||||
<span><input type="button" value="fullscreen" onclick="Module.requestFullScreen(false, true)"><br><br>
|
<input type="button" value="fullscreen" onclick="Module.requestFullScreen(false, true)"><br><br>
|
||||||
<canvas id="canvas" width="160" height="120" oncontextmenu="event.preventDefault()"></canvas><br>
|
<canvas id="canvas" width="160" height="120" oncontextmenu="event.preventDefault()"></canvas><br>
|
||||||
<span id="info"></span>
|
<span id="info"></span>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user