mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-22 00:00:59 +02:00
9935e83c86
The news inside the window are about peer arrivals and departures, remote search accesses and crawls git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4739 6c8d7289-2bf4-0310-a012-ef5d649a1542
18 lines
530 B
JavaScript
Executable File
18 lines
530 B
JavaScript
Executable File
var query = new Object();
|
|
|
|
function getQueryProps() {
|
|
var text = "";
|
|
for (property in query) {
|
|
text += property + " = " + query[property] + ";\n";
|
|
}
|
|
return text;
|
|
}
|
|
|
|
function getURLparameters() {
|
|
if (self.location.search.indexOf("=") == -1) {return;}
|
|
var parameterArray = unescape(self.location.search).substring(1).split("&");
|
|
for (var i=0;i<parameterArray.length;i++) {
|
|
parameterArray[i] = parameterArray[i].split("=");
|
|
eval("query." + parameterArray[i][0] + " = \"" + parameterArray[i][1] + "\"");
|
|
}
|
|
} |