-
AuthorPosts
-
rhys_daniels Friend
rhys_daniels
- Join date:
- November 2008
- Posts:
- 218
- Downloads:
- 0
- Uploads:
- 60
- Thanks:
- 32
- Thanked:
- 6 times in 1 posts
February 25, 2009 at 7:31 pm #138567Hi Guys
I want to stop users from “Right Mouse Clicking” on the entire website. Is there some code i can implement into the template to do this?
If so can somoeone provide the following:
1. Code needed
2. File path requires editing
3. Where to place the code in the relevant file🙂
bennitos Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
February 25, 2009 at 7:34 pm #293419I never used this myself but i know there are modules who do this for you.
here two examples:
http://extensions.joomla.org/extensions/access-&-security/content-restriction/5699/details
and
http://extensions.joomla.org/extensions/access-&-security/content-restriction/7224/details
This should do what you want!
1 user says Thank You to bennitos for this useful post
jwellman Friendjwellman
- Join date:
- April 2008
- Posts:
- 543
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 115
- Thanked:
- 59 times in 21 posts
February 25, 2009 at 11:06 pm #293451I would like to see the site when you are finished. It may keep the novice out and that’s about it, but I’m still interested in seeing it.
ShannonN FriendShannonN
- Join date:
- July 2006
- Posts:
- 1947
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 16
- Thanked:
- 172 times in 49 posts
February 26, 2009 at 2:38 am #293461rhys_daniels;114603Hi Guys
I want to stop users from “Right Mouse Clicking” on the entire website. Is there some code i can implement into the template to do this?
If so can somoeone provide the following:
1. Code needed
2. File path requires editing
3. Where to place the code in the relevant file🙂
how do you stop them from “save as”? or using Webzip to dl the whole site and view offline?
rhys_daniels Friendrhys_daniels
- Join date:
- November 2008
- Posts:
- 218
- Downloads:
- 0
- Uploads:
- 60
- Thanks:
- 32
- Thanked:
- 6 times in 1 posts
February 26, 2009 at 1:07 pm #293545<em>@jwellman 114643 wrote:</em><blockquote>I would like to see the site when you are finished. It may keep the novice out and that’s about it, but I’m still interested in seeing it.</blockquote>
Hi jwellman
Will do, its not due for completion though for anothe 5/6 months
Ill keep you posted. At the moment trying to finish all the fiddly/technical bits.
Rhys
rhys_daniels Friendrhys_daniels
- Join date:
- November 2008
- Posts:
- 218
- Downloads:
- 0
- Uploads:
- 60
- Thanks:
- 32
- Thanked:
- 6 times in 1 posts
February 26, 2009 at 1:17 pm #293548<em>@ShannonN 114655 wrote:</em><blockquote>how do you stop them from “save as”? or using Webzip to dl the whole site and view offline?</blockquote>
Found a solution for “Save As” from the file menu in IE7 (Havnt tested other IE versions)
I added this piece of code to the template HTML
Just before the <HEAD> tag
<NOSCRIPT><IFRAME SRC=*.html></IFRAME></NOSCRIPT>
rhys_daniels Friendrhys_daniels
- Join date:
- November 2008
- Posts:
- 218
- Downloads:
- 0
- Uploads:
- 60
- Thanks:
- 32
- Thanked:
- 6 times in 1 posts
February 26, 2009 at 1:54 pm #293560<em>@rhys_daniels 114603 wrote:</em><blockquote>Hi Guys
I want to stop users from “Right Mouse Clicking” on the entire website. Is there some code i can implement into the template to do this?
If so can somoeone provide the following:
1. Code needed
2. File path requires editing
3. Where to place the code in the relevant file:)</blockquote>
Went with the bottom link to Stop “Right Mouse Clicking”. Again placed the code just above the <HEAD> tag in the HTML template.
+ http://www.todaysteacher.com/web2/norightclick.htm
+ http://www.dynamicdrive.com/dynamicindex9/noright.htm
+ http://www.web-wise-wizard.com/javascript-tutorials/disable-right-click.htmlWorks Great!
use the following
<body oncontextmenu=”return false;”>
Works with the following browsers:
Avant
IE7
Flock
Google Chrome
Firefox
Safari
Netscape
Sea MonkeyDont Work With:
Opera Browserccvpguy Friendccvpguy
- Join date:
- February 2009
- Posts:
- 72
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 29
- Thanked:
- 10 times in 5 posts
February 26, 2009 at 2:13 pm #293562Hi Rhys; wil this disable if someone uses >> VIEW>>SOURCE in IE?
Thanks
rhys_daniels Friendrhys_daniels
- Join date:
- November 2008
- Posts:
- 218
- Downloads:
- 0
- Uploads:
- 60
- Thanks:
- 32
- Thanked:
- 6 times in 1 posts
February 26, 2009 at 2:23 pm #293565<em>@ccvpguy 114771 wrote:</em><blockquote>Hi Rhys; wil this disable if someone uses >> VIEW>>SOURCE in IE?
Thanks</blockquote>
Hi ccvpguy
It will stop users right clicking to select “View Source” however users will be able to select it from the “View” menu on the toolbar.
The top link i used only stops users in Internet Explorer & Avant Browser.
Im working on the other browsers so will keep you posted. I’ll also try and find some code to disable view source if possible.
rhys_daniels Friendrhys_daniels
- Join date:
- November 2008
- Posts:
- 218
- Downloads:
- 0
- Uploads:
- 60
- Thanks:
- 32
- Thanked:
- 6 times in 1 posts
February 26, 2009 at 2:48 pm #293572<em>@rhys_daniels 114775 wrote:</em><blockquote>Hi ccvpguy
It will stop users right clicking to select “View Source” however users will be able to select it from the “View” menu on the toolbar.
The top link i used only stops users in Internet Explorer & Avant Browser.
Im working on the other browsers so will keep you posted. I’ll also try and find some code to disable view source if possible.</blockquote>
use the following
<body oncontextmenu=”return false;”>
Works with the following browsers:
Avant
IE7
Flock
Google Chrome
Firefox
Safari
Netscape
Sea MonkeyDont Work With:
Opera Browserrhys_daniels Friendrhys_daniels
- Join date:
- November 2008
- Posts:
- 218
- Downloads:
- 0
- Uploads:
- 60
- Thanks:
- 32
- Thanked:
- 6 times in 1 posts
March 1, 2009 at 1:17 pm #294042<em>@ccvpguy 114771 wrote:</em><blockquote>Hi Rhys; wil this disable if someone uses >> VIEW>>SOURCE in IE?
Thanks</blockquote>
Allright Boss
Ive had a look and the View Source option on the view menu cant be disabled through code implementation. From my understanding theres only 2 ways to restrict it:
1. Disable the Menu Bar on loading the page with a specified script
2. Implementing some Active X component the user will have to allowJust remember it will be stored in the Temporary Internet Files Folder so they can easily copy the file from there if they know how.
-
AuthorPosts
This topic contains 11 replies, has 5 voices, and was last updated by rhys_daniels 15 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum