1$(document).ready(function() { 2 $('#toggle-menu').on('click', function() { 3 $('#fullscreen-menu').toggleClass('open'); 4 $('.btn-free-trial').toggle(); 5 }); 6 7 $('#close-menu').on('click', function() { 8 $('#fullscreen-menu').removeClass('open'); 9 $('.btn-free-trial').show(); 10 }); 11}); 12 13document.addEventListener('DOMContentLoaded', function() { 14 // Obtener el primer h1 y h2 de la página 15 /* 16 var h1 = document.querySelector('h1'); 17 var h2 = document.querySelector('h2'); 18 19 // Función para convertir texto a tipo oración 20 function toSentenceCase(text) { 21 text = text.toLowerCase(); // Convertir todo a minúsculas 22 return text.charAt(0).toUpperCase() + text.slice(1); // Capitalizar la primera letra 23 } 24 25 // Verificar que existan h1 y h2 y actualizar el tÃtulo y la descripción 26 if (h1) { 27 var h1Text = toSentenceCase(h1.textContent.trim()); 28 document.title = h1Text; 29 } 30 31 if (h2) { 32 var h2Text = toSentenceCase(h2.textContent.trim()); 33 var metaDescription = document.querySelector('meta[name="description"]'); 34 if (metaDescription) { 35 metaDescription.setAttribute('content', h2Text); 36 } 37 }*/ 38});
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.