examples: browser extensions api