-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.htm
executable file
·101 lines (91 loc) · 3.5 KB
/
search.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
haystack project
web search
webmaster david{at}haystackproject.com
http://www.haystackproject.com
This application is licensed under the GNU General Pubic Licence, Version 3.
Please see http://www.gnu.org/licenses/gpl.html for details.
-->
<head>
<title>Haystack Project - Web Search</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<link rel="StyleSheet" href="main.css" title="Main" type="text/css" />
<script type="text/javascript" src="randomCore.js"></script>
<!--<script type="text/javascript" src="hayprojSearch.js"></script>-->
<script type="text/javascript" src="hayProj.js"></script>
<script type="text/javascript" src="scrapers/ghtScrape.js"></script>
<script type="text/javascript">
<!--
var userTerm;
function displaySearchBurst(terms)
{
var htmlTerms = '<ol>';
for (var x=0; x < terms.length; x++)
{
//if (terms[x] == document.getElementById('txtSearchBox').value.toLowerCase())
if (terms[x] == userTerm)
{
htmlTerms += '<li class=\'hoomanSearchTerm\'>';
}
else
{
htmlTerms += '<li class=\'cylonSearchTerm\'>';
}
htmlTerms += terms[x] + '</li>';
}
htmlTerms += '</ol>';
document.getElementById('pnlTerms').innerHTML = htmlTerms;
}
// -->
</script>
</head>
<body>
<div class="pageMantle">
<div class="pageCore">
<div class="navigationLeftCol">
<a href="index.htm">
<img src="logo_small.png" alt="Home" />
</a>
<div class="contentNavigation">
<a href="about.htm">about</a>
<a href="downloads.htm">download</a>
<a href="developers.htm">developers</a>
<a href="support.htm">support</a>
<a href="contact.htm">contact</a>
<a href="search.htm">web search</a>
</div>
</div>
<div class="searchBoxContainer">
<h1 class="contentHeader">
Web Search
</h1>
<div class="searchNote">
*** NOTE: Please whitelist haystackproject.org and haystackproject.com in your pop-up blocking software or else everything will be thrown out of whack and the CIA will storm your house, kick your dog, and melt your otter pops. ***
</div>
<input type="text" id="txtSearchBox" class="searchBox" onkeydown="JavaScript: if (event.keyCode == 13) { webSearch(true); }" />
</div>
<div class="searchControls">
<input type="checkbox" id="chkReorderPhrase" class="searchOption" />Randomize Word Order in Search Phrase
<input type="checkbox" id="chkIncludeTypos" class="searchOption" disabled="disabled" />Include Typos
</div>
<div class="searchButtonContainer">
<input type="button" id="btnSearch" value="search" class="searchButton" onclick="webSearch(true);" />
</div>
<div id="pnlTermsContainer" class="searchTermsContainer">
<div class="searchTip">
For best results, keep this page open to allow it to generate its own searches.
</div>
<div id="pnlTerms"></div>
<div class="searchDisclaimer">
<b>DISCLAIMER</b>: This service utilizes server-side code to retrieve content to generate keywords with. As per GPL requirements, the source code for this is available in the GIT repository. However, it is ran on our (shared) server and thus you have no real way of knowing if it's been backdoor'd. We can't guarantee your privacy, not that we ever did; We don't have the lawyers for that.
</div>
</div>
<div id="pnlFrameContainer">
</div>
</div>
</div>
</body>
</html>