Skip to content

reference:HTML Check

Aaron Junker edited this page Apr 11, 2021 · 1 revision

Script HTMl Check

HTML Check is a script inside of (root) /page.php that checks if the current browser of the user supports HTML 5.

The script only gets executed if the Cookie Check isn't set.

The checking script is from modernizr. Full link.

Checked modules

The script checks for compatibility of:

  • Event listeners
  • Input types
  • JSON API
  • HTML Video
  • Setclasses API

On success

On success the user can use the page for a longer time and the cookie Check is set to 1.

On failure

A alert box is shown that tells the user that his browser isn't supported. Then he gets redirected to https://html5test.com/results/desktop.html.

Clone this wiki locally