Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Added an informative title on the crawl start robots.txt status icon

luccioman4b72b29ea2bb
diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js
index 21a16854c..f2b7dae65 100644
--- a/htroot/js/IndexCreate.js
+++ b/htroot/js/IndexCreate.js
@@ -66,6 +66,7 @@ function handleResponse(){
if (docrobotsOK == "1"){
var img=document.createElement("img");
img.setAttribute("src", "env/grafics/ok.png");
+ img.setAttribute("title", "Crawl is allowed by the website robots.txt rules (or no robots.txt file is provided).");
img.setAttribute("width", "32px");
img.setAttribute("height", "32px");
img.setAttribute("alt", "robots.txt - OK");
@@ -73,6 +74,7 @@ function handleResponse(){
} else if(docrobotsOK == "0"){
var img=document.createElement("img");
img.setAttribute("src", "env/grafics/bad.png");
+ img.setAttribute("title", "Crawl is disallowed by the website robots.txt rules.");
img.setAttribute("width", "32px");
img.setAttribute("height", "32px");
img.setAttribute("alt", "robots.txt - Bad");