Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
add close window
Browse files Browse the repository at this point in the history
  • Loading branch information
Inglan committed Feb 2, 2024
1 parent dbf08fc commit 43ac01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urun.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ document.addEventListener("keydown", function (e) {
(e.style.cssText = "width:100%; height:100%; border:none;"),
t.document.body.appendChild(e),
t.addEventListener("message", function (e) {
e.data.toString().startsWith("execute:") && (eval(e.data.toString().replace("execute:", "")));
e.data.toString().startsWith("execute:") && (eval(e.data.toString().replace("execute:", "")), t.close());
});
}
});

0 comments on commit 43ac01b

Please sign in to comment.