Added on_url callback. Not 100% on usage, but it certainly seems to work correctly.

Likely doing this incorrectly, but I figured it might help someone else w/ prototyping.

Will further investigate the correct solution once I'm done prototyping.