80,19 → 80,8 |
--> |
</style> |
|
<script type="text/javascript" src="scripts/builder?src=object,dom"></script> |
<script type="text/javascript" src="scripts/builder?src=object,dom,dom/storage,dom/window"></script> |
<script type="text/javascript"> |
function setStatus (text) |
{ |
window.status = String(text); |
return true; |
} |
|
function resetStatus () |
{ |
window.status = window.defaultStatus; |
return true; |
} |
<?php |
/* |
var ms1Day = 60*60*24*1000; // ms for 1 days = 60sec*60min*24hours*1000ms |
616,9 → 605,10 |
if (navigator.webkitGetGamepads && navigator.webkitGetGamepads().length) features.push("<?php echo _('Gamepad'); ?>"); |
if (navigator.geolocation) features.push("<?php echo _('Geolocation'); ?>"); |
if (typeof navigator.javaEnabled != "undefined" && navigator.javaEnabled()) features.push("Java"); |
if (typeof window.localStorage != "undefined") features.push("Local Storage"); |
var storage = jsx.dom.storage; |
if (storage.localStorage.isSupported()) features.push("Local Storage"); |
if (navigator.plugins) features.push("Plugins"); |
if (typeof window.sessionStorage != "undefined") features.push("Session Storage"); |
if (storage.sessionStorage.isSupported()) features.push("Session Storage"); |
if (typeof window.ontouchstart != "undefined") features.push("Touch"); |
return features.join(" • "); |
} |
627,7 → 617,7 |
document.write('<span id="features" title="' + sFeatures + '">' + sFeatures + '<\/span>'); |
|
var oFeatures; |
window.setTimeout(function () { |
var tFeatures = window.setTimeout(function () { |
if (typeof oFeatures == "undefined") |
{ |
oFeatures = document.getElementById("features"); |