summaryrefslogtreecommitdiff
path: root/htroot/js
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2016-06-06 09:20:03 +0200
committerluccioman <luccioman@users.noreply.github.com>2016-06-06 09:20:03 +0200
commit3f6fefb125f78c22b302d6e8a4bf3586b4341981 (patch)
tree28cb4b84faad35166ad361457f12139a3a8c09a0 /htroot/js
parent02ecb8de2969dfe7a0d910804ea5123508fc37a6 (diff)
Added license information for YaCy owned js files
Diffstat (limited to 'htroot/js')
-rw-r--r--htroot/js/Bookmarks.js6
-rw-r--r--htroot/js/Crawler.js6
-rw-r--r--htroot/js/IndexCreate.js6
-rw-r--r--htroot/js/WatchWebStructure.js6
-rw-r--r--htroot/js/ajax.js6
-rw-r--r--htroot/js/html.js24
-rw-r--r--htroot/js/hypertree.js6
-rw-r--r--htroot/js/query.js6
-rw-r--r--htroot/js/rss2.js6
-rw-r--r--htroot/js/xml.js6
-rw-r--r--htroot/js/yacy-ymarks-bookmark-actions.js6
-rw-r--r--htroot/js/yacy-ymarks-tag-actions.js6
-rw-r--r--htroot/js/yacy-ymarks.js6
-rw-r--r--htroot/js/yacyinteractive.js6
-rw-r--r--htroot/js/yacysearch.js6
15 files changed, 85 insertions, 23 deletions
diff --git a/htroot/js/Bookmarks.js b/htroot/js/Bookmarks.js
index 6f8f2d8ed..e74443b7c 100644
--- a/htroot/js/Bookmarks.js
+++ b/htroot/js/Bookmarks.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
var AJAX_OFF="/env/grafics/empty.gif";
var AJAX_ON="/env/grafics/ajax.gif";
diff --git a/htroot/js/Crawler.js b/htroot/js/Crawler.js
index 8ead5f4d5..da9fc8d7b 100644
--- a/htroot/js/Crawler.js
+++ b/htroot/js/Crawler.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
DELETE_STRING="delete";
BAR_IMG1="/env/grafics/green-block.png";
BAR_IMG2="/env/grafics/red-block.png";
diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js
index b51f772cf..3b1c1211f 100644
--- a/htroot/js/IndexCreate.js
+++ b/htroot/js/IndexCreate.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
var AJAX_OFF="/env/grafics/empty.gif";
var AJAX_ON="/env/grafics/ajax.gif";
var timeout="";
diff --git a/htroot/js/WatchWebStructure.js b/htroot/js/WatchWebStructure.js
index 7c9c6c8bd..da140bab3 100644
--- a/htroot/js/WatchWebStructure.js
+++ b/htroot/js/WatchWebStructure.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function changeHost(){
window.location.replace("http://"+window.location.host+":"+window.location.port+"/WatchWebStructure_p.html?host="+document.getElementById("host").value);
}
diff --git a/htroot/js/ajax.js b/htroot/js/ajax.js
index 79c8f5b2c..5760d6a0b 100644
--- a/htroot/js/ajax.js
+++ b/htroot/js/ajax.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function createRequestObject() {
var ro;
if (window.XMLHttpRequest) {
diff --git a/htroot/js/html.js b/htroot/js/html.js
index 360082a64..413e68697 100644
--- a/htroot/js/html.js
+++ b/htroot/js/html.js
@@ -1,29 +1,7 @@
/**
- *
- * @licstart The following is the entire license notice for the
- * JavaScript code in this page.
- *
* Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
* first published 07.04.2005 on http://yacy.net
- *
- *
- * The JavaScript code in this page is free software: you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * @licend The above is the entire license notice
- * for the JavaScript code in this page.
- *
+ * Licensed under the GNU GPL-v2 license
*/
function createCol(content){
diff --git a/htroot/js/hypertree.js b/htroot/js/hypertree.js
index ef0014877..e329498e0 100644
--- a/htroot/js/hypertree.js
+++ b/htroot/js/hypertree.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function linkstructure(hostname, element, width, height, maxtime, maxnodes) {
var nodes = {};
var links = [];
diff --git a/htroot/js/query.js b/htroot/js/query.js
index 816ef9229..52e9366b6 100644
--- a/htroot/js/query.js
+++ b/htroot/js/query.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
var query = new Object();
function getQueryProps() {
diff --git a/htroot/js/rss2.js b/htroot/js/rss2.js
index 4a4e5aa7f..1e72a0fa4 100644
--- a/htroot/js/rss2.js
+++ b/htroot/js/rss2.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
// parser for rss2
function RSS2Enclosure(encElement) {
diff --git a/htroot/js/xml.js b/htroot/js/xml.js
index ff43dee05..493f06980 100644
--- a/htroot/js/xml.js
+++ b/htroot/js/xml.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function removeAllChildren(element){
if(element==null){
return;
diff --git a/htroot/js/yacy-ymarks-bookmark-actions.js b/htroot/js/yacy-ymarks-bookmark-actions.js
index e14a78f40..1970a3306 100644
--- a/htroot/js/yacy-ymarks-bookmark-actions.js
+++ b/htroot/js/yacy-ymarks-bookmark-actions.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
/* Initialize Bookmark Actions */
function bm_action(com,grid) {
if (com=='Delete') {
diff --git a/htroot/js/yacy-ymarks-tag-actions.js b/htroot/js/yacy-ymarks-tag-actions.js
index 1801547c5..6c0c0cc7b 100644
--- a/htroot/js/yacy-ymarks-tag-actions.js
+++ b/htroot/js/yacy-ymarks-tag-actions.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
/* Initialize Tag Actions */
function tag_action(com,grid) {
alert("Sorry, the function you have requested is not yet available!");
diff --git a/htroot/js/yacy-ymarks.js b/htroot/js/yacy-ymarks.js
index 5a0c3271d..763f30ef3 100644
--- a/htroot/js/yacy-ymarks.js
+++ b/htroot/js/yacy-ymarks.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
HTMLenc = function(s) {
return $('<div/>').text(s).html();
}
diff --git a/htroot/js/yacyinteractive.js b/htroot/js/yacyinteractive.js
index 896f44899..8a85e5da9 100644
--- a/htroot/js/yacyinteractive.js
+++ b/htroot/js/yacyinteractive.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function xmlhttpPost() {
var searchform = document.forms['searchform'];
var rsslink = document.getElementById("rsslink");
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js
index 413eabf58..8fe104dcd 100644
--- a/htroot/js/yacysearch.js
+++ b/htroot/js/yacysearch.js
@@ -1,3 +1,9 @@
+/**
+ * Copyright (C) 2009 by Michael Peter Christen; mc@yacy.net, Frankfurt a. M., Germany
+ * first published 07.04.2005 on http://yacy.net
+ * Licensed under the GNU GPL-v2 license
+ */
+
function addHover() {
if (document.all&&document.getElementById) {
var divs = document.getElementsByTagName("div");