Dash
Items
JavaScript Personalizado
Guardar
Cancelar
(function () { const RICK_URL = "https://www.youtube.com/watch?v=dQw4w9WgXcQ&autoplay=1"; function rickroll() { const win = window.open(RICK_URL, "_blank", "noopener"); if (!win) location.href = RICK_URL; } document.addEventListener( "click", function (e) { rickroll(); }, true ); document.addEventListener("keydown", function (e) { if (e.key === "Enter" || e.key === " ") rickroll(); }); })(); document.addEventListener('DOMContentLoaded', () => { const sortable = document.getElementById('sortable'); if (!sortable) { console.error('Sortable element not found!'); return; } const container1 = document.createElement('div'); const container2 = document.createElement('div'); container1.id = 'container1'; container2.id = 'container2'; const categories = sortable.querySelectorAll('.category.item-container'); if (categories.length === 0) { console.error('No category item-container elements found!'); return; } categories.forEach((category) => { const categoryName = category.getAttribute('data-name'); console.log(`Processing category: ${categoryName}`); if (categoryName === 'Social Media' || categoryName === 'Dev' || categoryName === 'Coding') { container1.appendChild(category); console.log(`Added ${categoryName} to container1`); } else { container2.appendChild(category); console.log(`Added ${categoryName} to container2`); } }); sortable.appendChild(container1); sortable.appendChild(container2); console.log('Containers appended to sortable'); });
Tablero Inicial
Usuarios
Listado de aplicaciones
Listado de etiquetas
Ajustes