HTML禁止複製貼上以及禁止下載圖片
阿新 • • 發佈:2018-12-16
直接加在html標籤中可以實現以下功能
oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼 oncontextmenu="return false" :禁止右鍵 onselectstart="return false" : 禁止選取 onpaste = "return false" : 禁止貼上 oncopy = "return false" : 禁止複製 oncut = "return false" : 禁止剪貼