// Auto-load saved image‑generation API key into the MCP input field. // No prompt is shown; if a key is stored in localStorage it is auto‑filled. window.addEventListener('load', () => { const savedKey = localStorage.getItem('image_api_key'); if (savedKey) { const icInput = document.querySelector('input[name=\"IC_API_KEY\"]'); if (icInput) icInput.value = savedKey; } // Hide "Don't have an account?" text on the login page const nodes = document.querySelectorAll('p, span, div'); nodes.forEach(node => { if (node.textContent && node.textContent.includes("Don't have an account")) { node.style.display = 'none'; } }); });