2016-12-14 07:11:20 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8"/>
|
|
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2016-12-14 14:20:25 +00:00
|
|
|
<title>Christine Dodrill</title>
|
2016-12-14 07:11:20 +00:00
|
|
|
|
|
|
|
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css">
|
|
|
|
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.min.js"></script>
|
|
|
|
<link href="/app.css" rel="stylesheet" type="text/css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="app"></div>
|
2016-12-14 14:20:25 +00:00
|
|
|
|
|
|
|
<script>
|
|
|
|
// Forgive me
|
|
|
|
function eventFire(el, etype){
|
|
|
|
if (el.fireEvent) {
|
|
|
|
el.fireEvent('on' + etype);
|
|
|
|
} else {
|
|
|
|
var evObj = document.createEvent('Events');
|
|
|
|
evObj.initEvent(etype, true, false);
|
|
|
|
el.dispatchEvent(evObj);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
interval = setInterval(function() {
|
|
|
|
e = document.getElementById("requestbutton");
|
|
|
|
if(e != null) {
|
|
|
|
eventFire(e, "click");
|
|
|
|
} else {
|
|
|
|
console.log("Tried so hard been so far")
|
|
|
|
}
|
|
|
|
clearInterval(interval);
|
|
|
|
|
|
|
|
e.style.display = "none";
|
|
|
|
}, 250);
|
|
|
|
</script>
|
2016-12-14 07:11:20 +00:00
|
|
|
</body>
|
|
|
|
</html>
|