| | |
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 |
acid2 ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate array automatically beta box browser bug calendar captchaformproblem cart close codes column cookies css date debugger decimal dependent design disablefirebug dom download element embed engine enter error events ext file firefox focus form frameworks getselection google gwt gxt hiddenvalue highlightedword hint html htmlform ie7 iframe index java javascript javascripthelp2020 jawascriptruntimeerror jquery jsp libcurl listbox maps masterpage media menu microsoft mimic mp4 onmouseoutdivproblem onmouseover paypal pdf php player position post problem programming prototype redirect regex safari scale scriptlets scroll search security select software sql text textarea toggle unicode variables w3c website window windowofwords windowsxp






