< >

ladezeit-anzeigen.php


Quell Code


<?php
       $date = new DateTime();
        $start = $date->getTimestamp();
echo "<script> anfang=$start; </script>";
?>




 
<?php
error_reporting(E_ALL); 
ini_set('display_errors', true);
?>
<!DOCTYPE html>
<html>
<head>
    <title>itel</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-122955144-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-122955144-1');
</script>
<style>
*{
margin:0;
padding:0;
}

body {
  color: #2c3e50;
  background: #ecf0f1;
}

</style>
</head>
<body>







<script>
for(a=0;a<=1000000;a++){
var g=a+a*a;
var h=g;
}


var stop = new Date();
var stop=stop.getTime()/1000;
ende=anfang-stop;
ende=ende-12;
document.write('Start : '+anfang+'<br>Ende : '+stop+'<br>Rest '+ende);


 
$('*').click(function(){

alert(this);
  
})


</script>
</body>
</html>