<!-- Todo: Style the output and autocomplete list Note: I leave this to stefan -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Talk to Eleutheria</title>
<link rel="stylesheet" type="text/css" href="http://tinybrain.de:8080/getraw.php?id=1002160&contentType=text/css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-alpha1/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/awesomplete/1.0.0/awesomplete.min.js"></script>
<script>
$(document).keypress(function (e) {
if (e.which == 13) {
var command = document.getElementById("input").value;
var style = "font-family: PT Sans; font-size: 50px; text-align: center";
var url = "http://bots.tinybrain.de/1002076/raw?q=" + encodeURIComponent(command) + "&style=" + encodeURIComponent(style);
$("#answer").html('<object width="100%" data="' + url + '"/>');
}
});
$(document).on("click","a",function(){
var command = document.getElementById("input").value;
var style = "font-family: PT Sans; font-size: 50px; text-align: center";
var url = "http://bots.tinybrain.de/1002076/raw?q=" + encodeURIComponent(command) + "&style=" + encodeURIComponent(style);
$("#answer").html('<object width="100%" data="' + url + '"/>');
});
</script>
</head>
<body>
<a href="http://tinybrain.de/"><img src="http://eyeocr.sourceforge.net/filestore/filestore.php?cmd=serve&file=blob_1002132&contentType=image/png" alt="Eleutheria" border="0" /></a>
<input data-list="#autocomplete" class="awesomplete" autofocus id="input" type="text" placeholder="Talk to the robot..." style="text-align: center" ></input>
<a class="submit" href="javascript:void(0)">SUBMIT</a>
<div id="answer" class ="result"></div>
<h4 id="footer">With the help of Bugra Gündüz</h4>
<ul style="display:none;" id="autocomplete">
<li>* * are * *</li>
<li>* * is * *</li>
<li>* random english words</li>
<li>1 random english word</li>
<li>Are there any * other than *?</li>
<li>all things</li>
<li>am i a *</li>
<li>check theory</li>
<li>cheesebase reload</li>
<li>get disk space</li>
<li>get unix hour</li>
<li>get unix time</li>
<li>how many * * * *</li>
<li>how many computers run javax</li>
<li>how many english words do you know?</li>
<li>if the * is in the *, and the * is in the *, and the * is in the *, is the * in the *?</li>
<li>if the * is in the *, and the * is in the *, and the * is in the *, then is the * in the *?</li>
<li>if the * is in the *, and the * is in the *, is the * in the *?</li>
<li>if the * is in the *, and the * is in the *, then is the * in the *?</li>
<li>is * a *</li>
<li>is * an english word?</li>
<li>javax: how many statements? *</li>
<li>list all *</li>
<li>look up *</li>
<li>lookup *</li>
<li>name * *</li>
<li>name a *</li>
<li>please say *</li>
<li>please scrape *</li>
<li>random english word</li>
<li>random english words</li>
<li>show clusters</li>
<li>show theory</li>
<li>the text of snippet * is *</li>
<li>unix hour</li>
<li>what is *</li>
<li>what is the unix hour</li>
<li>which bot is the biggest</li>
</ul>
</body>
</html>Began life as a copy of #1002122
download render html show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1002123 |
| Snippet name: | alternate homepage, with fixes |
| Eternal ID of this version: | #1002123/1 |
| Text MD5: | 60d079d990c063a9d3e3fc7dc9e1687b |
| Author: | stefan |
| Category: | |
| Type: | HTML |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-12-27 19:56:36 |
| Source code size: | 3389 bytes / 77 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 955 / 863 |
| Referenced in: | [show references] |