1var checkType = "single"; 2 3$(document).ready(function() { 4 temp = new Image(); 5 temp.setAttribute("src", "./images/domaincheck-button-pruefen-on.gif"); 6 temp = new Image(); 7 temp.setAttribute("src", "./images/background-domaincheck-sammelsuche.jpg"); 8 $(".tab-domaincheck, .tab-multicheck").click(function(eventObject) { 9 if($(this).hasClass("tab-domaincheck")) { 10 checkType = "single"; 11 $("div.domaincheck .domaintype").fadeIn(); 12 $("input[name=search_type]").val("domaincheck"); 13 $("div.domaincheck div.input-layer form").attr("action", "https://www.checkdomain.de/domains/suchen/"); 14 15 var domains = $("textarea.domainname").val(); 16 domains = domains.replace(/\r/g, ""); 17 domains = domains.split("\n"); 18 19 if(domains.length == 0 || domains[0] == "") { 20 $("textarea.domainname").val("mustermann.de"); 21 } else { 22 $("textarea.domainname").val(domains[0]); 23 } 24 } else if($(this).hasClass("tab-multicheck")) { 25 checkType = "multi"; 26 $("div.domaincheck .domaintype").css("display", "none"); 27 $("input[name=search_type]").val("multicheck"); 28 $("div.domaincheck div.input-layer form").attr("action", "https://www.checkdomain.de/domains/multicheck/"); 29 } 30 31 $("div.domaincheck") 32 .removeClass("multi") 33 .removeClass("single") 34 .addClass(checkType); 35 36 eventObject.stopPropagation(); 37 eventObject.preventDefault(); 38 }); 39 40 $("#check-submit").hover( 41 function() { 42 $(this).attr("src", "./images/domaincheck-button-pruefen-on.gif"); 43 }, 44 function() { 45 $(this).attr("src", "./images/domaincheck-button-pruefen.gif"); 46 } 47 ); 48 49 $("textarea.domainname").keypress(function(eventObject) { 50 var key = (eventObject.which) ? eventObject.which : eventObject.keyCode; 51 52 if(key == 13) { 53 if($("div.domaincheck").hasClass("single")) { 54 $("div.domaincheck div.input-layer form").submit(); 55 56 eventObject.preventDefault(); 57 eventObject.stopPropagation(); 58 } 59 } 60 }); 61});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.