20 Commits

Author SHA1 Message Date
Maxim Devaev
e9e7f9bd05 pikvm/pikvm#1341: Web: Switch to maximize tab by default 2024-11-07 00:34:24 +02:00
Maxim Devaev
ce62d711c1 updated copyright date 2024-03-22 16:02:55 +02:00
Adam Outler
bfbf3172e3
Fix crash on unload (#136)
* Fix crash on unload

Within main, exists a `window.beforeunload` handler which brings up the "Are you sure you want to close PiKVM session?" message.   When the page is refreshed, the event is `undefined` and, the code which sets the `event.returnValue` to the aforementioned text provides an exception.  

To reproduce:
1. Open KVMD web
2. Open developer tools to view Console.
3. Interact with the page by clicking the main window.
4. Refresh the page
5. Observe type error in console. 

This patch checks if the event is defined before attempting to set the `event.returnValue`.  Other functions are maintained.

* Add space
2023-05-27 18:08:57 +03:00
Maxim Devaev
a834c89ef3 copyright update 2023-05-27 12:41:22 +03:00
Maxim Devaev
b78a9dd8e1 web: ui config 2022-11-18 04:42:40 +03:00
Maxim Devaev
e5ed253d68 fixed browser detection, loading css from js 2022-10-16 23:51:27 +03:00
Maxim Devaev
c15d743f48 pikvm/pikvm#813: optional page close confirmation 2022-09-01 12:24:17 +03:00
Maxim Devaev
1b3a2cc3f7 copyright bump 2022-01-07 16:39:02 +03:00
Maxim Devaev
8f11fa3b91 small rebranding 2021-09-08 06:47:54 +03:00
Maxim Devaev
02335734ce refactoring 2021-07-29 02:11:44 +03:00
Devaev Maxim
5dc123e186 refactoring 2021-04-13 10:14:27 +03:00
Devaev Maxim
c169f55204 update copy 2021-01-07 10:33:02 +03:00
Devaev Maxim
ad83678eb3 use strict 2019-07-17 04:17:22 +03:00
Devaev Maxim
98468bfa30 using js modules 2019-07-13 06:38:55 +03:00
Devaev Maxim
c40f13e2d7 url refactoring 2019-04-27 01:58:21 +03:00
Devaev Maxim
73bfd715e3 refactoring 2019-04-25 00:18:10 +03:00
Devaev Maxim
4ed7dfb7ef prevent ctrl+w kvm session 2019-04-11 02:45:42 +03:00
Devaev Maxim
fe2c44391c fixed copyright 2019-03-18 04:19:43 +03:00
Devaev Maxim
6a0de7c329 license 2019-02-18 06:22:59 +03:00
Devaev Maxim
3c33bd3719 own auth 2018-12-15 04:29:40 +03:00