support for screenshots in extensions