JS Cancel page can choose the function method of writing


Sometimes the function of the imitation software that needs to be done, you need to cancel the functionality that can be selected. This feature browser is turned on by default, and we can use JS to cancel this feature.

Document.onselectStart = function () {return false;}; // cancel field selection function
   As long as this sentence is placed in the page, you can cancel the field selection function. 
The above JS Cancel page can select the function method of the text is the full content of Xiaobian sharing, I hope to give you a reference, I hope everyone supports Tumi Cloud.

© Copyright Notice
Just support it if you like
comment Grab the couch

Please log in to comment