|
#1
|
|||
|
|||
TBDev problem
Right click is not working
What is the problem ?? |
#2
|
|||
|
|||
is not a problem, is for security anyone can copy images
and can make your stylesheet at my source ionutsami`source edited 70% i have option with disable or enable right click Last edited by patz; 20th December 2008 at 16:32. |
#3
|
|||
|
|||
And how can i enable right click?
|
#4
|
||||
|
||||
I think is that crappy javascript that disables right click (If I'm not mistaken this is used in netmaniak's source). It's crappy because it's useless. If I disable the javascript on the page, I can copy whatever image I like. ;).
The script is simmilar to this one: Code:
<script> var isNS = (navigator.appName == "Netscape") ? 1 : 0; if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP); function mischandler(){ return false; } function mousehandler(e){ var myevent = (isNS) ? e : event; var eventbutton = (isNS) ? myevent.which : myevent.button; if((eventbutton==2)||(eventbutton==3)) return false; } document.oncontextmenu = mischandler; document.onmousedown = mousehandler; document.onmouseup = mousehandler; </script> <!-- right click end --> Good luck!
__________________
PHP Code:
|
Tags |
problem , tbdev |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with TBDEV Tracker - Torrents problem | M4d4lyNn | TBDev | 0 | 15th January 2010 08:49 |
announce.php tbdev-problem | bsf | TBDev | 11 | 11th January 2010 23:38 |
Problem on TBDev | lovebeer | Community Cafe | 1 | 25th July 2009 10:21 |
tbdev tracker problem | AwakeN | Community Cafe | 0 | 14th June 2009 09:13 |
TBdev Small Problem | wrestleman | TBDev | 2 | 31st May 2009 16:52 |