Skip to content

Commit 25dd84a

Browse files
committed
small change
1 parent 17d0c33 commit 25dd84a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dist/secure-web.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ function overlayScreen(overlayId) {
224224

225225
if (document.getElementById('no-screenshot-overlay')) {
226226
document.getElementById('no-screenshot-overlay').style.display = 'flex';
227+
return;
227228
}
229+
228230
const overlay = document.createElement('div');
229231
overlay.id = 'no-screenshot-overlay';
230232
overlay.style.position = 'fixed';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "secure-web",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "Secure-Web is an npm package that prevents users from taking screenshots of your web page by securing it against various methods of screenshot capture. With customizable options to tailor the security measures according to your needs, Secure-Web ensures that your sensitive information remains protected and inaccessible to unauthorized individuals. Embrace the power of Secure-Web and take control of your online security today.",
55
"main": "dist/secure-web.js",
66
"scripts": {

0 commit comments

Comments
 (0)