Page 1 of 1

Updating Copyright On Your Site The Copyrigt Changes, Without You Having To Do Anything Rate Topic: -----

#1 kumaraj  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 3
  • View blog
  • Posts: 80
  • Joined: 12-February 09

Posted 06 February 2010 - 06:57 AM

The other day I was shocked to find a site which had not updated its copyright symbol since 1999. It still read:
Copyright 1990-1999.

So I came up with a small script which will automatically change the year, therefore your site is copyrighted all the time and updated.

Before we begin you need to know:

Firstly create a new Javascript Source Sheet, called, copyright.js

In this source sheet this is what to do:

var time=newDate();
var year=time.getYear();
if (year < 2000)
year = year + 1900;

This declares the date, which means we just have to insert the text.

document.write("Copyright &copy 2009 - " & year);

Save this source and go to your HTML page

<!--- Page Content --->
<script type="text/javascript" src="copyright.js"></script>

There, done. That's all you had to do, and now no one can take your site legally!!!
If you have any questions, feel free to ask.

Is This A Good Question/Topic? 0
  • +

Replies To: Updating Copyright On Your Site

#2 moopet  Icon User is offline

  • binary decision maker
  • member icon

Reputation: 342
  • View blog
  • Posts: 1,189
  • Joined: 02-April 09

Posted 13 March 2010 - 10:25 AM

You haven't needed an explicit copyright notice on websites since Berne in 1989.

That said, applying it with javascript has the major failing that if it's viewed in something that doesn't execute javascript, it's simply not there!
Was This Post Helpful? 3
  • +
  • -

Page 1 of 1