Apple has released Java for OS X 2012-005 update for Mac OS X, Apple said that this update delivers improved security, reliability and compatibility as this updates Java SE 6 to 1.6.0_35.
In this update, the configurations in Java plug-in will deactive when no applets had been run for an extended period of time. If users did not install previous update (Java for OS X 2012-004), this update will disable the Java web plug-in. Users can still run Java applets on web pages by re-enabling the Java applets from the web browser.
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_1) AppleWebKit/536.25 (KHTML, like Gecko) Version/6.0 Safari/536.25