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/
Written by Alexander Brevig
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Javascript
Authors
Did you know?
JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#