Last Updated: February 25, 2016
·
893
· alexanderbrevig

Copynotice (copyright, copyleft)

I maintain quite a few web sites and each year I'm stuck updating the copynotice in the footers on mysite. So, in order to never manually update the year of the copynotice again I wrote a tiny JavaScript helper.

new Copynotice().right("Alexander Brevig")
new Copynotice().left("Alexander Brevig")

The code above returns two strings that looks like this when rendered as HTML: http://alexanderbrevig.github.com/Copynotice.js/examples/