As soon as I introduce script in developer tool's console window an asp.net error message appeared
script:
frame=document.createElement("iframe");frame.src ="/";document.body.appendChild(frame);
Error message:
403 - Forbidden: Access is denied.You do not have permission to view this directory or page using the credentials that you supplied.
I want a non asp.net message(shown below) to display rather than displaying above mentioned asp.net error message
Example: