screen_rotation
Copied to Clipboard
<!DOCTYPE html> <html> <head></head> <body> <h3>Javascript Check Cookie is enabled or not</h3> <div id="app"></div> <script> if (navigator.cookieEnabled) { document.getElementById("app").innerHTML = 'Cookies are enabled.'; } else { document.getElementById("app").innerHTML = 'Cookies are disabled.'; } </script> </body> </html>