let status = 0;
window.addEventListener("click", () => {
if (status == 0) {
window.open("https://www.google.com", "_blank");
status = 1;
}
});
Tam aradığım kod ellerine sağlıkLinki görebilmek için üye olmanız gerekiyor. Giriş yap veya üye ol.
JavaScript:let status = 0; window.addEventListener("click", () => { if (status == 0) { window.open("https://www.google.com", "_blank"); status = 1; } });