I want below javascript to happen but without a alert, can someone help me
function DisableRightClick(event)
{
if (event.button == 2)
{
alert("Right Clicking not allowed!");
}
}
I want below javascript to happen but without a alert, can someone help me
function DisableRightClick(event)
{
if (event.button == 2)
{
alert("Right Clicking not allowed!");
}
}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ugur Unlu3 reputationPosted Oct 16, 2019, 11:42 AM EDT