Files
sd-webui-faceswaplab/javascript/faceswap.js
T
2023-07-26 17:42:02 +02:00

5 lines
141 B
JavaScript

window.onbeforeunload = function() {
// Prevent the stable diffusion window from being closed by mistake
return "Are you sure ?";
};