8xqzaw
Last Updated: February 25, 2016
·
558
· alexanderbrevig
Feb007acc38e70d57f7b4c205f7e8b26

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/

Say Thanks
Respond