1function botao_enviar(){ 2 3 if(document.getElementById("palavras").value == ""){ 4 //campo vazio exibe mensagem 5 document.getElementById("campovazio").style.display="block"; 6 return false; 7 } 8 9 10 // campo de pesquisa no site 11 var palavra = $("#palavras").val(); 12 13 //campo preenchido oculta mensagem 14 document.getElementById("campovazio").style.display="none"; 15 16 17 // campo de pesquisa do google no modal 18 $("input[type=text][name=q]").val(palavra); 19 $("input[type=text][name=search]").val(palavra); 20 21 // simula click no botão da pesquisa no modal 22 jQuery('.gsc-search-button').trigger('click'); 23 24 // Remove demais elementos do dropdown 25 const elVestibularPage = document.querySelector('body.vestibular') 26 if (elVestibularPage) { 27 setTimeout(() => { 28 toggleDisplayElementosNaBusca('links-rapidos', 'none') 29 }, 500); 30 31 abreResultados() 32 } 33} 34 35
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.