Document design Mode
<html> <body> <button onclick="alert(document.designMode);">Design Mode Status</button> </body> </html>