H5 mobile terminal prohibits long press to pop up system menu to select copy

Due to the project requirements in the H5web page, it is necessary to implement a long press to pop up a custom menu for the user to select the function of the operation. This function can be realized by jQuery's touchstart, touchmove, touchend three touch events plus a timer. Not much to say here

 

 

 

Guess you like

Origin blog.csdn.net/weixin_64310738/article/details/129034337