working as a browser action