A NOC screen in its own window, for a second display

A button next to the speed controls opens this page at ?noc=<slot> in a
noopener pop-up, so it runs on its own thread. The window never claims the
slot, saves or runs a day. The game sends it a copy of S and R over a
BroadcastChannel, at most once a second and only while a window is connected,
and runs its clicks through an allowlist of the same ACT.* a click uses.

The window opens on a dark wallboard: a live world map of links and POPs,
traffic and money graphs, alarms, and the hottest ports with the dashboard's
own upgrade buttons (connUp). Clicking a POP filters the ports. Details shows
the full dashboard. Phones do not show the button.
This commit is contained in:
Christopher Hawker 2026-11-04 20:01:37 +11:00
parent c04fbe88b8
commit 80f671953a
18 changed files with 752 additions and 6 deletions

View file

@ -3027,6 +3027,33 @@
"networks.waves_goodbye_to_latency_across_the":"Winkt der Latenz quer über den Indischen Ozean zum Abschied.",
"networks.western_canada_s_incumbent_tell_us":"Der Platzhirsch Westkanadas. Sag uns, was du brauchst, und wir sagen dir den Preis.",
"networks.will_peer_with_anyone_anywhere":"Peert mit jedem, überall. Angeblich verschickt er IPv6-Torten per Post.",
"noc.alarms":"Alarme",
"noc.all_pops":"Alle POPs",
"noc.details":"Details",
"noc.full_screen":"Vollbild",
"noc.hottest_ports":"Heißeste Ports",
"noc.legend_down":"Ausgefallen",
"noc.legend_hot":"Über 90 %",
"noc.legend_ok":"Unter 65 %",
"noc.legend_warm":"Über 65 %",
"noc.n_alarms":{"one":"{n} Alarm","other":"{n} Alarme"},
"noc.n_pops_n_links":"{pops} POPs · {links} Links",
"noc.n_ports_over_90_full":{"one":"{n} Port über 90 %","other":"{n} Ports über 90 %"},
"noc.n_unhappy_customers":{"one":"{n} unzufriedener Kunde","other":"{n} unzufriedene Kunden"},
"noc.n_warnings":{"one":"{n} Warnung","other":"{n} Warnungen"},
"noc.net_per_month":"Netto pro Monat",
"noc.no_ports_here":"Hier gibt es noch keine Ports. Kauf Transit oder geh an ein Exchange.",
"noc.nothing_on_fire":"Nichts brennt. Genieß es, solange es hält.",
"noc.open_in_its_own_window":"NOC-Dashboard in einem eigenen Fenster öffnen",
"noc.the_game_has_a_dialog_open":"Im Spielfenster ist ein Dialog offen. Schließ ihn zuerst dort.",
"noc.the_game_is_paused":"Das Spiel ist pausiert.",
"noc.the_game_window_is_closed":"Das Spielfenster ist geschlossen oder antwortet nicht, diese Zahlen sind also nicht live. Öffne dort dein Netz, dann verbindet sich dieses Fenster wieder.",
"noc.the_game_window_is_hidden":"Das Spielfenster ist verdeckt, darum steht seine Uhr. Hol es zurück auf den Bildschirm, um weiterzuspielen.",
"noc.under_attack":"{who} wird angegriffen: {g}",
"noc.waiting_for_the_game_window":"Warte auf das Spielfenster…",
"noc.wallboard":"Wallboard",
"noc.your_browser_blocked_the_window":"Dein Browser hat das NOC-Fenster vielleicht blockiert. Erlaube Pop-ups für diese Seite und versuch es nochmal.",
"noc.your_network":"Dein Netz",
"notifications.last_10_minutes":"letzte 10 Minuten",
"notifications.n_min_ago":{"one":"vor {n} Min.","other":"vor {n} Min."},
"notifications.nothing_in_the_last_10_minutes":"Nichts in den letzten 10 Minuten.",

View file

@ -3025,6 +3025,33 @@
"networks.waves_goodbye_to_latency_across_the":"Le dice adiós a la latencia a través del Océano Índico.",
"networks.western_canada_s_incumbent_tell_us":"El operador histórico del oeste de Canadá. Dinos qué necesitas y te diremos el precio.",
"networks.will_peer_with_anyone_anywhere":"Hace peering con cualquiera, en cualquier lugar. Se rumorea que manda pasteles de IPv6 por correo.",
"noc.alarms":"Alarmas",
"noc.all_pops":"Todos los POP",
"noc.details":"Detalles",
"noc.full_screen":"Pantalla completa",
"noc.hottest_ports":"Puertos más cargados",
"noc.legend_down":"Caído",
"noc.legend_hot":"Más del 90 %",
"noc.legend_ok":"Menos del 65 %",
"noc.legend_warm":"Más del 65 %",
"noc.n_alarms":{"one":"{n} alarma","other":"{n} alarmas"},
"noc.n_pops_n_links":"{pops} POP · {links} enlaces",
"noc.n_ports_over_90_full":{"one":"{n} puerto por encima del 90 %","other":"{n} puertos por encima del 90 %"},
"noc.n_unhappy_customers":{"one":"{n} cliente descontento","other":"{n} clientes descontentos"},
"noc.n_warnings":{"one":"{n} aviso","other":"{n} avisos"},
"noc.net_per_month":"Neto al mes",
"noc.no_ports_here":"Aún no hay puertos aquí. Compra tránsito o únete a un exchange.",
"noc.nothing_on_fire":"Nada en llamas. Disfrútalo mientras dure.",
"noc.open_in_its_own_window":"Abrir el panel del NOC en su propia ventana",
"noc.the_game_has_a_dialog_open":"La ventana del juego tiene un diálogo abierto. Ciérralo allí primero.",
"noc.the_game_is_paused":"El juego está en pausa.",
"noc.the_game_window_is_closed":"La ventana del juego está cerrada o no responde, así que estas cifras no están en directo. Abre tu red allí y esta ventana se vuelve a conectar.",
"noc.the_game_window_is_hidden":"La ventana del juego está oculta, así que su reloj se ha parado. Vuelve a ponerla en pantalla para seguir jugando.",
"noc.under_attack":"{who} bajo ataque: {g}",
"noc.waiting_for_the_game_window":"Esperando a la ventana del juego…",
"noc.wallboard":"Panel mural",
"noc.your_browser_blocked_the_window":"Puede que tu navegador haya bloqueado la ventana del NOC. Permite las ventanas emergentes en este sitio y vuelve a intentarlo.",
"noc.your_network":"Tu red",
"notifications.last_10_minutes":"últimos 10 minutos",
"notifications.n_min_ago":{"one":"hace {n} min","other":"hace {n} min"},
"notifications.nothing_in_the_last_10_minutes":"Nada en los últimos 10 minutos.",

View file

@ -3025,6 +3025,33 @@
"networks.waves_goodbye_to_latency_across_the":"Fait un signe d’adieu à la latence à travers l’océan Indien.",
"networks.western_canada_s_incumbent_tell_us":"L’opérateur historique de l’Ouest canadien. Dis-nous ce qu’il te faut, et on te dira le prix.",
"networks.will_peer_with_anyone_anywhere":"Fait du peering avec tout le monde, partout. Il paraît qu’il envoie des gâteaux IPv6 par la poste.",
"noc.alarms":"Alarmes",
"noc.all_pops":"Tous les POP",
"noc.details":"Détails",
"noc.full_screen":"Plein écran",
"noc.hottest_ports":"Ports les plus chargés",
"noc.legend_down":"Hors service",
"noc.legend_hot":"Plus de 90 %",
"noc.legend_ok":"Moins de 65 %",
"noc.legend_warm":"Plus de 65 %",
"noc.n_alarms":{"one":"{n} alarme","other":"{n} alarmes"},
"noc.n_pops_n_links":"{pops} POP · {links} liens",
"noc.n_ports_over_90_full":{"one":"{n} port à plus de 90 %","other":"{n} ports à plus de 90 %"},
"noc.n_unhappy_customers":{"one":"{n} client mécontent","other":"{n} clients mécontents"},
"noc.n_warnings":{"one":"{n} avertissement","other":"{n} avertissements"},
"noc.net_per_month":"Net par mois",
"noc.no_ports_here":"Pas encore de port ici. Achète du transit ou rejoins un exchange.",
"noc.nothing_on_fire":"Rien ne brûle. Profites-en tant que ça dure.",
"noc.open_in_its_own_window":"Ouvrir le tableau de bord NOC dans sa propre fenêtre",
"noc.the_game_has_a_dialog_open":"La fenêtre du jeu a une boîte de dialogue ouverte. Ferme-la d'abord là-bas.",
"noc.the_game_is_paused":"Le jeu est en pause.",
"noc.the_game_window_is_closed":"La fenêtre du jeu est fermée ou ne répond pas : ces chiffres ne sont plus en direct. Rouvre ton réseau là-bas et cette fenêtre se reconnecte.",
"noc.the_game_window_is_hidden":"La fenêtre du jeu est masquée, son horloge est donc arrêtée. Remets-la à l'écran pour continuer à jouer.",
"noc.under_attack":"{who} attaqué : {g}",
"noc.waiting_for_the_game_window":"En attente de la fenêtre du jeu…",
"noc.wallboard":"Mur d'écrans",
"noc.your_browser_blocked_the_window":"Ton navigateur a peut-être bloqué la fenêtre NOC. Autorise les pop-ups pour ce site et réessaie.",
"noc.your_network":"Ton réseau",
"notifications.last_10_minutes":"10 dernières minutes",
"notifications.n_min_ago":{"one":"il y a {n} min","other":"il y a {n} min"},
"notifications.nothing_in_the_last_10_minutes":"Rien ces 10 dernières minutes.",

View file

@ -3025,6 +3025,33 @@
"networks.waves_goodbye_to_latency_across_the":"Manda una wave d’addio alla latenza attraverso l’Oceano Indiano.",
"networks.western_canada_s_incumbent_tell_us":"L'incumbent del Canada occidentale. Dicci cosa ti serve e noi ti diremo il prezzo.",
"networks.will_peer_with_anyone_anywhere":"Fa peering con chiunque, ovunque. Si dice spedisca torte IPv6 per posta.",
"noc.alarms":"Allarmi",
"noc.all_pops":"Tutti i POP",
"noc.details":"Dettagli",
"noc.full_screen":"Schermo intero",
"noc.hottest_ports":"Porte più calde",
"noc.legend_down":"Giù",
"noc.legend_hot":"Oltre il 90%",
"noc.legend_ok":"Sotto il 65%",
"noc.legend_warm":"Oltre il 65%",
"noc.n_alarms":{"one":"{n} allarme","other":"{n} allarmi"},
"noc.n_pops_n_links":"{pops} POP · {links} link",
"noc.n_ports_over_90_full":{"one":"{n} porta oltre il 90%","other":"{n} porte oltre il 90%"},
"noc.n_unhappy_customers":{"one":"{n} cliente scontento","other":"{n} clienti scontenti"},
"noc.n_warnings":{"one":"{n} avviso","other":"{n} avvisi"},
"noc.net_per_month":"Netto al mese",
"noc.no_ports_here":"Ancora nessuna porta qui. Compra transit o entra in un exchange.",
"noc.nothing_on_fire":"Niente in fiamme. Goditela finché dura.",
"noc.open_in_its_own_window":"Apri la dashboard NOC in una finestra separata",
"noc.the_game_has_a_dialog_open":"La finestra di gioco ha una finestra di dialogo aperta. Chiudila prima lì.",
"noc.the_game_is_paused":"Il gioco è in pausa.",
"noc.the_game_window_is_closed":"La finestra di gioco è chiusa o non risponde, quindi questi numeri non sono in tempo reale. Riapri lì la tua rete e questa finestra si ricollega.",
"noc.the_game_window_is_hidden":"La finestra di gioco è nascosta, quindi il suo orologio è fermo. Riportala sullo schermo per continuare a giocare.",
"noc.under_attack":"{who} sotto attacco: {g}",
"noc.waiting_for_the_game_window":"In attesa della finestra di gioco…",
"noc.wallboard":"Wallboard",
"noc.your_browser_blocked_the_window":"Il browser potrebbe aver bloccato la finestra NOC. Consenti i pop-up per questo sito e riprova.",
"noc.your_network":"La tua rete",
"notifications.last_10_minutes":"ultimi 10 minuti",
"notifications.n_min_ago":{"one":"{n} min fa","other":"{n} min fa"},
"notifications.nothing_in_the_last_10_minutes":"Niente negli ultimi 10 minuti.",

View file

@ -3025,6 +3025,33 @@
"networks.waves_goodbye_to_latency_across_the":"Dá tchau pra latência com uma wave pelo Oceano Índico.",
"networks.western_canada_s_incumbent_tell_us":"O incumbente do oeste do Canadá. Diga do que você precisa, e nós diremos o preço.",
"networks.will_peer_with_anyone_anywhere":"Faz peering com qualquer um, em qualquer lugar. Dizem que manda bolos IPv6 pelo correio.",
"noc.alarms":"Alarmes",
"noc.all_pops":"Todos os POPs",
"noc.details":"Detalhes",
"noc.full_screen":"Tela cheia",
"noc.hottest_ports":"Portas mais quentes",
"noc.legend_down":"Fora do ar",
"noc.legend_hot":"Acima de 90%",
"noc.legend_ok":"Abaixo de 65%",
"noc.legend_warm":"Acima de 65%",
"noc.n_alarms":{"one":"{n} alarme","other":"{n} alarmes"},
"noc.n_pops_n_links":"{pops} POPs · {links} links",
"noc.n_ports_over_90_full":{"one":"{n} porta acima de 90%","other":"{n} portas acima de 90%"},
"noc.n_unhappy_customers":{"one":"{n} cliente insatisfeito","other":"{n} clientes insatisfeitos"},
"noc.n_warnings":{"one":"{n} aviso","other":"{n} avisos"},
"noc.net_per_month":"Líquido por mês",
"noc.no_ports_here":"Ainda não há portas aqui. Compre trânsito ou entre num exchange.",
"noc.nothing_on_fire":"Nada pegando fogo. Aproveite enquanto dura.",
"noc.open_in_its_own_window":"Abrir o painel do NOC numa janela própria",
"noc.the_game_has_a_dialog_open":"A janela do jogo tem uma caixa de diálogo aberta. Feche-a lá primeiro.",
"noc.the_game_is_paused":"O jogo está em pausa.",
"noc.the_game_window_is_closed":"A janela do jogo está fechada ou não responde, por isso estes números não estão ao vivo. Abra a sua rede lá e esta janela volta a ligar-se.",
"noc.the_game_window_is_hidden":"A janela do jogo está oculta, por isso o relógio parou. Traga-a de volta ao ecrã para continuar a jogar.",
"noc.under_attack":"{who} sob ataque: {g}",
"noc.waiting_for_the_game_window":"À espera da janela do jogo…",
"noc.wallboard":"Painel de parede",
"noc.your_browser_blocked_the_window":"O navegador pode ter bloqueado a janela do NOC. Permita pop-ups neste site e tente de novo.",
"noc.your_network":"A sua rede",
"notifications.last_10_minutes":"últimos 10 minutos",
"notifications.n_min_ago":{"one":"há {n} min","other":"há {n} min"},
"notifications.nothing_in_the_last_10_minutes":"Nada nos últimos 10 minutos.",