Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Bookmarklet to mock multiple touch events via mouse clicks
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.md
index.html
mock.js

README.md

Mock Toucher Donate on Gittip

A TouchEvent testing tool for non-mobile devices. The script is a bookmarklet which fires touch events on elements based on mouse clicks and movements. It additionally supports multiplexing a mouse via shift which allows the user to add additional mouse points. These points can also be removed via ctrl. Unfortunately, browser supports is very limited and has only been tested in Firefox 10.

MDN Demo page: https://developer.mozilla.org/en-US/demos/detail/mock-toucher/launch

GitHub Demo page: http://twolfson.github.com/Mock-Toucher/

Bookmarklet: Mock Toucher

This script was written by Todd Wolfson for Mozilla Dev Derby February 2012 - Touch Events.

 

Things that cause modern-only support

  • document.elementFromPoint
  • CSS - pointer-events: none;
  • WeakMap (only one that can easily be replaced)
Something went wrong with that request. Please try again.