DmitrMakeev
commited on
Update js/anti_copy.js
Browse files- js/anti_copy.js +2 -3
js/anti_copy.js
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
document.addEventListener('contextmenu', function(event) {
|
2 |
-
event.preventDefault();
|
3 |
});
|
4 |
|
5 |
|
6 |
-
|
7 |
document.addEventListener('copy', function(event) {
|
8 |
-
event.preventDefault();
|
9 |
});
|
|
|
1 |
document.addEventListener('contextmenu', function(event) {
|
2 |
+
event.preventDefault();
|
3 |
});
|
4 |
|
5 |
|
|
|
6 |
document.addEventListener('copy', function(event) {
|
7 |
+
event.preventDefault();
|
8 |
});
|