Open Website issue with digital badge in chrome

I have a website that I am trying to open with digital badge. I am using Exception handling but the website gets opened in chrome browser but the website waits to load waiting for user to click on Ok button pop up on digital badge. The window action in “If exception occured is not getting triggered”. This works with IE properly but not with Chrome but I want to use chrome as the website works well with chrome only. Please help fix the issue.