Olá, tenho um JavaScript que desabilita aquele menu que aparece quando clicamos com o botão direito do mouse, ele funciona em todos os navegadores, mas fui ver no IE8 mais por desencargo de conciencia e tive a surpresa, não funcionou. Alguém poderia me ajudar a otimizar isso?
[codebox]
// JavaScript Document
function desabilitaMenu(e){ if (window.Event)
{if (e.which == 2 || e.which == 3)
return false; }
else
{event.cancelBubble = true;
event.returnValue = false;
return false; }}
//desabilita botão direito
function desabilitaBotaoDireito(e)
{ if (window.Event)
{ if (e.which == 2 || e.which == 3) return false; }
else if (event.button == 2 || event.button == 3)
{event.cancelBubble = true;
event.returnValue = false;
return false; }}
//desabilita botão direito do mouse
if ( window.Event ) document.captureEvents(Event.MOUSEUP);
if ( document.layers ) document.captureEvents(Event.MOUSEDOWN);
document.oncontextmenu = desabilitaMenu;
document.onmousedown = desabilitaBotaoDireito;
document.onmouseup = desabilitaBotaoDireito;[/codebox]
Falow!
Bons Ventos Galera!
Javascript Não Funciona No Ie 8
Started By Victor Hugo Odo, 17/08/2009, 16:46
6 replies to this topic
#1
Posted 17/08/2009, 16:46
Fórum WMO - Administrador
#3
Posted 28/09/2017, 11:08
Faux Viagra Au Quebec Purchasing Stendra From Canada cialis price Keflex 750 Cap
#4
Posted 29/09/2017, 03:21
Tamoxifen Shopping generic cialis Cephalexin Dog Urinary Infection Provera Want To Buy
Online Zithromax Purchase Alli Free Viagra Samples By Mail online pharmacy Aurochem Viagra
Online Zithromax Purchase Alli Free Viagra Samples By Mail online pharmacy Aurochem Viagra
#5
Posted 10/10/2017, 03:22
Priligy Pharmacie En Ligne Discount Programs For Doxycycline Ajanta Kamagra 100 buy viagra online Donde Comprar Cialis Seguro En Espana
Does Cephalexin Contain Penicillin viagra Orlistat En Vente Libre Plavix Online Order
Viagra Telefonisch Bestellen Preisvergleich Viagra Generika buy viagra online Nizagara Uk Venlafaxine 150mg India
Does Cephalexin Contain Penicillin viagra Orlistat En Vente Libre Plavix Online Order
Viagra Telefonisch Bestellen Preisvergleich Viagra Generika buy viagra online Nizagara Uk Venlafaxine 150mg India
#6
Posted 25/10/2017, 17:00
Viagra Vente Suisse Que Es Cialis Celecoxib Discount Indian buy viagra online Lioresal En Canada
Baclofene Irex 10 Viagra Arztrezept Propecia Dosage Depression viagra Viagra Kaufen Duisburg Venta De Cialis En Espana
Baclofene Irex 10 Viagra Arztrezept Propecia Dosage Depression viagra Viagra Kaufen Duisburg Venta De Cialis En Espana
#7
Posted 07/11/2017, 11:02
Quanto Costa Il Cialis Da 10 Mg Where To Buy Toradol 60 Mg Buy Silagra 100 cialis online Us Parmacy No Script Needed What Is Amoxicillin Prescribed For Chyavanaprasha
Viagra Contre Remboursement viagra Costo Cialis Generico In Farmacia Zantac Interact With Amoxicillin Medication What Is Cephalexin Used For
Viagra Contre Remboursement viagra Costo Cialis Generico In Farmacia Zantac Interact With Amoxicillin Medication What Is Cephalexin Used For
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)