test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • rhys_daniels Friend
    #138567

    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

    🙂

    bennitos Friend
    #293419

    I 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!

    jwellman Friend
    #293451

    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.

    ShannonN Friend
    #293461

    rhys_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 Friend
    #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 Friend
    #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 Friend
    #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.html

    Works Great!

    use the following

    <body oncontextmenu=”return false;”>

    Works with the following browsers:
    Avant
    IE7
    Flock
    Google Chrome
    Firefox
    Safari
    Netscape
    Sea Monkey

    Dont Work With:
    Opera Browser

    ccvpguy Friend
    #293562

    Hi Rhys; wil this disable if someone uses >> VIEW>>SOURCE in IE?

    Thanks

    rhys_daniels Friend
    #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 Friend
    #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 Monkey

    Dont Work With:
    Opera Browser

    rhys_daniels Friend
    #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 allow

    Just remember it will be stored in the Temporary Internet Files Folder so they can easily copy the file from there if they know how.

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 5 voices, and was last updated by  rhys_daniels 15 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum