From 2701108c5bdd335c16e491d72ed3fce2ee363cc3 Mon Sep 17 00:00:00 2001
From: ed
Date: Sat, 29 Oct 2022 22:46:13 +0000
Subject: [PATCH] up2k-ui: suggest potato to avoid firefox-bug 1790500
---
copyparty/web/browser.js | 10 ++++------
copyparty/web/up2k.js | 2 +-
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js
index 439c4760..0e2ad536 100644
--- a/copyparty/web/browser.js
+++ b/copyparty/web/browser.js
@@ -347,9 +347,8 @@ var Ls = {
"u_emtleak1": "it looks like your webbrowser may have a memory leak;\nplease",
"u_emtleak2": ' switch to https (recommended) or ',
"u_emtleak3": ' ',
- "u_emtleak4": "try the following:\n
Uploads will be a bit slower, but oh well.\nSorry for the trouble !",
- "u_emtleakc": '\n\nPS: chrome v107 has a bugfix for this',
- "u_emtleakf": '\n\nPS: firefox v106 should have a bugfix for this',
+ "u_emtleakc": 'try the following:\nF5
to refresh the pagemt
button in the ⚙️ settings
Uploads will be a bit slower, but oh well.\nSorry for the trouble !\n\nPS: chrome v107 has a bugfix for this',
+ "u_emtleakf": 'try the following:\nF5
to refresh the pagemt
button in the ⚙️ settings
\nPS: firefox will hopefully have a bugfix at some point',
"u_s404": "not found on server",
"u_expl": "explain",
"u_tu": 'F5
to refresh the page🥔
(potato) in the upload UI
WARNING: turbo enabled, client may not detect and resume incomplete uploads; see turbo-button tooltip
', @@ -722,9 +721,8 @@ var Ls = { "u_emtleak1": "uff, det er mulig at nettleseren din har en minnelekkasje...\nForeslår", "u_emtleak2": ' helst at du bytter til https, eller ', "u_emtleak3": ' at du ', - "u_emtleak4": "prøver følgende:\nmt
bryteren under ⚙️ innstillinger
mt
bryteren under ⚙️ innstillinger
🥔
("enkelt UI") i opplasterenADVARSEL: turbo er på, avbrutte opplastninger vil muligens ikke oppdages og gjenopptas; hold musepekeren over turbo-knappen for mer info
', diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index 2977b425..5f20c3f2 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -1499,7 +1499,7 @@ function up2k_init(subtle) { st.oserr = true; var msg = HTTPS ? L.u_emtleak3 : L.u_emtleak2.format((window.location + '').replace(':', 's:')); - modal.alert(L.u_emtleak1 + msg + L.u_emtleak4 + (CHROME ? L.u_emtleakc : FIREFOX ? L.u_emtleakf : '')); + modal.alert(L.u_emtleak1 + msg + (CHROME ? L.u_emtleakc : FIREFOX ? L.u_emtleakf : '')); } /////