packages/cdp-mobile/dist/cdp.js
function (event) {
                var target = event.target;
                var e = event;
                var ev;
                // [CDP modified]: set target.clientX.
                if (null == target.clientX || null == target.clientY) {
                    if (null != e.pageX && null != e.pageY) {
                        target.clientX = e.pageX;
                        target.clientY = e.pageY;
                    }
                    else if (e.changedTouches && e.changedTouches[0]) {
                        target.clientX = e.changedTouches[0].pageX;
                        target.clientY = e.changedTouches[0].pageY;
                    }
                }
                if (!(/(SELECT|INPUT|TEXTAREA)/i).test(target.tagName)) {
                    ev = document.createEvent("MouseEvents");
                    ev.initMouseEvent("click", true, true, e.view, 1, target.screenX, target.screenY, target.clientX, target.clientY, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, 0, null);
                    ev._constructed = true;
                    target.dispatchEvent(ev);
                }
            }
function (event) {
                var target = event.target;
                var e = event;
                var ev;
                // [CDP modified]: set target.clientX.
                if (null == target.clientX || null == target.clientY) {
                    if (null != e.pageX && null != e.pageY) {
                        target.clientX = e.pageX;
                        target.clientY = e.pageY;
                    }
                    else if (e.changedTouches && e.changedTouches[0]) {
                        target.clientX = e.changedTouches[0].pageX;
                        target.clientY = e.changedTouches[0].pageY;
                    }
                }
                if (!(/(SELECT|INPUT|TEXTAREA)/i).test(target.tagName)) {
                    ev = document.createEvent("MouseEvents");
                    ev.initMouseEvent("click", true, true, e.view, 1, target.screenX, target.screenY, target.clientX, target.clientY, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, 0, null);
                    ev._constructed = true;
                    target.dispatchEvent(ev);
                }
            }
function ( event ) { var target = event . target ; var e = event ; var ev ; // [CDP modified]: set target.clientX. if ( null == target . clientX || null == target . clientY ) { if ( null != e . pageX && null != e . pageY ) { target . clientX = e . pageX ; target . clientY = e . pageY ; } else if ( e . changedTouches && e . changedTouches [ 0 ] ) { target . clientX = e . changedTouches [ 0 ] . pageX ; target . clientY = e . changedTouches [ 0 ] . pageY ; } } if ( ! ( / (SELECT|INPUT|TEXTAREA) / i ) . test ( target . tagName ) ) { ev = document . createEvent ( "MouseEvents" ) ; ev . initMouseEvent ( "click" , true , true , e . view , 1 , target . screenX , target . screenY , target . clientX , target . clientY , e . ctrlKey , e . altKey , e . shiftKey , e . metaKey , 0 , null ) ; ev . _constructed = true ; target . dispatchEvent ( ev ) ; } }
! iScroll.click patch
! iScroll . click patch