picture and keyboard control for firefox and chrome