Canon Lens Birthday Code Decoder / JS is a collection of JavaScript embedable in your HTML, which can show the manufacturing factory, production date and age of some Canon lenses and SLR with a
lens date code printed on the tail of the lens mount or SLR body's film chamber.
Just type in a valid 5 or 6 charactors code (eg. UK0129, U1140F or V1006) at the input box below and get the age of your Canon machine.
How to make it work on your web:
- Make a backup of your HTML before making any change.
- Copy the following code and paste it between the <BODY> and </BODY> tags of your HTML without modification.
- Save your work.
- Done.
Environment tested:
Browser / OS |
Test result |
Firefox 2 / Mac OS X 10.5 PPC |
Work |
Firefox 2 / Windows XP |
Work |
Internet Explorer 6 / Windows XP |
Work |
Safari 3 / Mac OS X 10.5 PPC |
Work |
Version history:
Version |
Date |
Description |
1.1.0 |
11 April 2008 |
- Add logic to decode 5 charactors code as documented at [How to determine the age of your Canon FD or EOS gear].
- Fix logic to identify invalid 6 charactors code with a numeric 2nd charactor (eg. U01056).
|
1.0.0 |
18 December 2007 |
Initial public release |
Distribution:
You are free to make copy, modification and distribution of this script. But please make a back link to
this page, so that the original source can be reached in case of needed.
This script is provided as is. I will not resposible for any result caused by using it.
Enjoy.