(function () { const fixLoginLink = () => { // 当发现链接指向 /api/oauth,加入giscus.app前缀 const links = document.querySelectorAll('a[href^="/api/oauth"]'); for (const link of links) { if (link.href.startsWith(location.origin + '/api/oauth')) { link.href = link.href.replace(location.origin, 'https://giscus.app'); } } }; fixLoginLink(); const observer = new MutationObserver(fixLoginLink); observer.observe(document.documentElement, { childList: true, subtree: true }); setTimeout(fixLoginLink, 3000); })();
The bridge allows creating a secure, peer-to-peer connection between the device and ViperIDE across the internet.
⚠️ Keep this page open for the connection to remain active