| | |
Javascript not working in Firefox
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2005
Posts: 1
Reputation:
Solved Threads: 0
Hello all! I have a javascript running on my site at http://www.kayoss.net that disables right clicking (viewing source, saving pictures, etc.) that works beautifully in IE...but not in Firefox. Does anyone know of a solution?
•
•
Join Date: Aug 2004
Posts: 49
Reputation:
Solved Threads: 1
Disabling right click is done using a single statement.
<body oncontextmenu="return false;">
This works for both the mouse and the keyboard in all modern browsers except Opera (which doesn't allow you to block right click).
<body oncontextmenu="return false;">
This works for both the mouse and the keyboard in all modern browsers except Opera (which doesn't allow you to block right click).
•
•
Join Date: Apr 2009
Posts: 5
Reputation:
Solved Threads: 0
It is a known problem that that Javascript will behave different with various browsers. On of the way is to use javascript that is generally accepted by W3 standards. If some functions still do not work, try hiding the script from that browser to avoid any errors.
Thank you,
Ryan
[url snipped]
Thank you,
Ryan
[url snipped]
Last edited by Ezzaral; May 13th, 2009 at 1:31 pm. Reason: Snipped url. Please do not post "fake" sig links in a message. You can create a user signature in the control panel.
HI,
You can try with my below post. Hope it will help you.
http://shawpnendu.blogspot.com/2009/...lickimage.html
You can try with my below post. Hope it will help you.
http://shawpnendu.blogspot.com/2009/...lickimage.html
MARK AS SOLVED if its help you.
REGARDS
MCTS - Shawpnendu bikash maloroy
http://shawpnendu.blogspot.com
REGARDS
MCTS - Shawpnendu bikash maloroy
http://shawpnendu.blogspot.com
![]() |
Similar Threads
- javascript in mozilla firefox (JavaScript / DHTML / AJAX)
- Javascript links not working (Web Browsers)
- Why javascript does not work on firefox? (JavaScript / DHTML / AJAX)
- Help re scrolling bar not working in firefox, CSS problem (HTML and CSS)
- AJAX not working on firefox (JavaScript / DHTML / AJAX)
- Javascript not working in Firefox (JavaScript / DHTML / AJAX)
- javascript works in IE but not working in firefox (JavaScript / DHTML / AJAX)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Read from RSS feed and display on page?
- Next Thread: count the number of names on basis of seperator
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column createrange() css cursor date debugger dependent disablefirebug dom download dropdown editor element embed engine error events explorer ext file form forms getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 ie8 iframe images internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jump libcurl math media microsoft mimic object onmouseoutdivproblem onreadystatechange parent paypal pdf php player position post problem programming progressbar regex runtime scroll search security select shopping size software sql text textarea unicode w3c web website window windowofwords windowsxp wysiwyg \n






