I want to prevent user to click on browser back or refresh button. so for that i want to disable these events so that user can not reload or refresh or back current page.
Kindly suggest .
Best Regards
Asked and answered here on SO. Disabling the back button in the browser is hard or impossible depending on what you actually want, see here. If you are going to do it in raw JS, then call the JS from ADF, examples here, plus many more examples via google.
ADF includes declarative support for dis-allowing returning into a taskflow that you have navigated out of by setting the taskflow metadata in conjunction with the taskflow return component setting, details here.