How to find latitude and longitude

copy and paste this code into your browser bar

javascript:void(prompt('',gApplication.getMap().getCenter()));