Client side scripts for extensions