MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / network_test_proxy

Function network_test_proxy

Scripts/Settings.py:7266–7276  ·  view source on GitHub ↗
(proxy)

Source from the content-addressed store, hash-verified

7264
7265
7266 function bindMenuToggle() {
7267 async function toggleFullscreen() {
7268 try {
7269 if (!document.fullscreenElement) await document.documentElement.requestFullscreen();
7270 else await document.exitFullscreen();
7271 } catch (err) { handleError(err); }
7272 }
7273 var fullButton = document.getElementById('fullscreenTopBtn');
7274 if (fullButton) fullButton.addEventListener('click', function(event){ event.stopPropagation(); toggleFullscreen(); });
7275 var mobileFull = document.getElementById('mobileFullscreenBtn');
7276 if (mobileFull) mobileFull.addEventListener('click', function(event){ event.stopPropagation(); toggleFullscreen(); });
7277 var mobileNotifications = document.getElementById('mobileNotificationsBtn');
7278 if (mobileNotifications) mobileNotifications.addEventListener('click', async function(){
7279 try { var data=await apiGet('/api/notifications'); renderNotificationsPanel((data.notifications && data.notifications.items) || []); } catch(err){ handleError(err); }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected