implement browser autolocate feature