Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
  <script>
    $(document).on('mq4hsChange', function (e) {
      console.log(e);
      $(document.documentElement).toggleClass('true-hover', e.trueHover);
    });
  </script>
  <script src="https://rawgit.com/cvrebert/mq4-hover-hover-shim/v0.0.2/dist/browser/mq4-hover-hover-shim.js"></script>
</head>
<body>
  <h2>Live demo of <a href="https://github.com/cvrebert/mq4-hover-hover-shim">mq4-hover-hover-shim's client-side true hover support check</a></h2>
  <div id="yes">
    <p>We think your browser DOES SUPPORT non-emulated hovering.</p>
    <p>e.g. You are using a desktop/laptop computer with a mouse-like pointing device.</p>
  </div>
  <div id="no">
    <p>We think your browser DOES NOT support non-emulated hovering.</p>
    <p>e.g. You are using a touch-based mobile device.</p>
  </div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
cvrebertpro
0viewers