A library for abstracting browser extension