We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 536b3fb commit 3aca90aCopy full SHA for 3aca90a
1 file changed
index.html
@@ -55,9 +55,10 @@ <h4>Some useful posts:</h4>
55
</div>
56
</body>
57
<script>
58
- document.addEventListener('copy', function(event) {
59
- event.clipboardData.setData('text/plain', 'DO NOT TRY TO COPY!!!');
60
- event.preventDefault();
+ document.addEventListener('copy', function(e) {
+ e.preventDefault();
+ alert('Copying is disabled on this website.');
61
+ e.clipboardData.setData('text/plain', 'DO NOT TRY TO COPY!!!');
62
});
63
</script>
64
0 commit comments