Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 index.html
Octocat-spinner-32 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.