[SOLVED] Where script should be place
nogates
Joined: 2011-04-13
Posts: 26 |
![]() |
I whant to put "no save as or right click" in gallery,where the script should be place. //Disable right mouse click Script var message="Function Disabled!"; /////////////////////////////////// function clickNS4(e){ if (document.layers){ document.oncontextmenu=new Function("alert(message);return false") // --> From that page of gallery 1. http://codex.gallery2.org/Gallery1:Securing#Other_Methods |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
First that doesn't provide any security at all. Try this module: I can still download your photos with that installed though.... |
|
nogates
Joined: 2011-04-13
Posts: 26 |
![]() |
I know all about cache screanshot and all.But it prevent a basic windows user from getting it. |
|
nogates
Joined: 2011-04-13
Posts: 26 |
![]() |
Well don't seem to be working,i did install it an activate it in gallery. |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
yes, you are missing something |
|
nogates
Joined: 2011-04-13
Posts: 26 |
![]() |
I try what you said because before i copy the hole file but not zip one. |
|
nogates
Joined: 2011-04-13
Posts: 26 |
![]() |
Maybe now i screw something because before whit the full file it was able to install and was on top of the list. |
|
Serge D
![]()
Joined: 2009-06-11
Posts: 2466 |
![]() |
nogates wrote:
Maybe now i screw something because before whit the full file it was able to install and was on top of the list. ok, let's start from scratch
|
|
nogates
Joined: 2011-04-13
Posts: 26 |
![]() |
Thanks. |
|