Skip to content

Commit ab0821e

Browse files
committed
mouse leave add
1 parent e49f533 commit ab0821e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dict/secure-web.js

+4
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ function noScreenshot() {
110110
overlayScreen();
111111
}
112112
});
113+
114+
document.addEventListener('mouseleave', () => {
115+
overlayScreen(); // Overlay when cursor leaves the window
116+
});
113117
}
114118

115119
function overlayScreen() {

0 commit comments

Comments
 (0)