Confirm Simple confirm if ok then go to link. Install Just clone the repo and import confirm.js on your project. Add ConfirmIt() function to all link that need to be confirmed and use link attribute instead of href on html.