No way, even if you write it into an external JS file, you still need to add it page by page.
Is there really no other way? Please help. If it is a common js file, how should I write it?
For the code, please refer to: http://blog.csdn.net/liushengmz/article/details/4093185
A stupid way, do you have a common JS file for all your pages? File similar to jquery.js? If so, paste the JS code below, which will set up "Disable pasting, copying and dragging" on every page.
Write it in a public method or js file, and execute it every time the page loads