update
This commit is contained in:
parent
1bfbf37c4a
commit
2d95354cf0
14
src/analytics.js
Normal file
14
src/analytics.js
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
Google Analytics shit because I'm paranoid
|
||||
Created by Wyatt J. Miller, published by Entourage Solutions
|
||||
|
||||
*/
|
||||
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
function gtag(){
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'UA-119564631-1');
|
@ -8,7 +8,9 @@
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script> <script src="main.js"></script>
|
||||
<script async src = "https://www.googletagmanager.com/gtag/js?id=UA-119564631-1"></script>
|
||||
<script src="main.js"></script>
|
||||
<script src="analytics.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php require "header.php"; ?>
|
||||
|
13
src/main.js
13
src/main.js
@ -25,3 +25,16 @@ function mediaDetect(){
|
||||
console.log("what do you spend your money on?")
|
||||
}
|
||||
}
|
||||
|
||||
function whatTimeIsIt(){
|
||||
var death = new Date();
|
||||
|
||||
function isPastNoon(){
|
||||
if (death.getHours > 12) {
|
||||
death.getHours()-12;
|
||||
} else {
|
||||
death.getHours();
|
||||
}}
|
||||
console.log(isPastNoon(), ":", death.getMinutes(), ":", death.getSeconds());
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user