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

Function network_mark_proxy_good

Scripts/Settings.py:7221–7231  ·  view source on GitHub ↗
(country, proxy)

Source from the content-addressed store, hash-verified

7219 return data;
7220 }
7221
7222 function escapeHtml(value) {
7223 return String(value || '').replace(/[&<>"&#x27;]/g, function(ch) {
7224 return ({ '&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;', "'": '&#39;' })[ch];
7225 });
7226 }
7227
7228 function setActiveApp(appId) {
7229 if (!APP_META.some(function(app){ return app.id === appId; })) return;
7230 if (state.activeApp && state.activeApp !== appId) state.lastApp = state.activeApp;
7231 state.activeApp = appId;
7232 if (appId !== 'terminal' && document.body.classList.contains('terminal-focus-mode')) { document.body.classList.remove('terminal-focus-mode'); var focusBtn=document.getElementById('terminalFocusBtn'); if(focusBtn) focusBtn.textContent=t('Focus'); }
7233 document.querySelectorAll('.screen').forEach(function(node) {
7234 node.classList.toggle('active', node.getAttribute('data-app') === appId);

Callers 1

Calls 2

network_load_proxy_stateFunction · 0.70
network_save_proxy_stateFunction · 0.70

Tested by

no test coverage detected