A small example Chrome extension, which can be reused as a starting point or learning tool. When clicked, it displays the ROT13 encoding of highlighted text in the current tab.
To try it out, simply clone the repo, then follow the steps here to run in chrome: https://developer.chrome.com/extensions/getstarted#unpacked
From there, you can immediately start editing and extending the functionality. Have fun!