Results 1 to 5 of 5

Thread: Protecting HTML Code

  1. #1
    You do realize by 'gay' I mean a man who has sex with other men?
    Join Date
    Oct 2003
    Location
    Jacksonville, Florida, USA.
    Posts
    21,630

    Protecting HTML Code

    We all know that source code theft is wrong and covered by copyright never the less some webmasters will inevitably try to steal the work that the honest ones amongst us create.

    Unfortunately, there is no sure fire way to stop people from stealing our HTML code but, we can make it hard for them.

    The following JavaScript coding, when placed in your <body> tag can make it harder for the opportunistic webmaster to steal your coding.

    Simply copy and paste everything below into your body tag and change the text in the var message="" field.

    <!--Start Copy-->
    <SCRIPT language="JavaScript">
    <!--
    var message="Copyright 2000 by Your Site. WARNING ! All content contained within this site is protected by copyright laws. Unauthorized use of our material is strictly prohibited.";
    function click(e) {
    if (document.all) {
    if (event.button==2||event.button==3) {
    alert(message);
    return false;
    }
    }
    if (document.layers) {
    if (e.which == 3) {
    alert(message);
    return false;
    }
    }
    }
    if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
    }
    document.onmousedown=click;
    // -->
    </SCRIPT>
    <!--End Copy-->

    Whilst this is not a sure fire way to stop the occurrence of HTML theft as mentioned already it will deter those webmasters who perhaps were there for the simplistic reason of viewing your source code.

    Article written by Lee.

    http://www.condomcash.com


  2. #2
    GWW Newbie..Be Nice..
    Join Date
    Nov 2013
    Posts
    28
    The best way to protect the websites from such cyber elements is to make use of DDOS protected hosting. You can easily protect your websites from any cyber attack opting for such kinds of hosting.


  3. #3
    affordable web design india
    Join Date
    Jan 2014
    Location
    Indore
    Posts
    14
    The ultimate way to shield those sites via like cyber factors can be make use of DDOS covered web hosting. You can actually shield your current internet sites via just about any cyber assault deciding on like sorts of web hosting.


  4. #4
    Banned Member
    Join Date
    Mar 2014
    Location
    india
    Posts
    3
    Nice information !!


  5. #5
    Gay Journalist and erotic video producer.
    Join Date
    Jul 2005
    Location
    Itinerant photographer, back in Dublin... and on Chaturbate.
    Posts
    2,990
    April 2004, I was 3 months away from moving to LA - AND, I hadn't yet made the decision to move!

    It is always fun to run towards the future, not run away from the past.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •