- LỜI KẾT
</head>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' type='text/javascript'/><script type="text/javascript"> jQuery(document).ready(function() { var ctrlDown = false; var ctrlKey = 17, vKey = 86, cKey = 67; jQuery(document).keydown(function(e) { if (e.keyCode == ctrlKey) ctrlDown = true; }).keyup(function(e) { if (e.keyCode == ctrlKey) ctrlDown = false;}); jQuery(document).keydown(function(e) {if (ctrlDown && e.keyCode == cKey) { alert('Vui lòng ghi nguồn bacsiwindows.com nếu copy nhé!'); } return true; }); });</script>Nếu như template của bạn đã có sẳn 1 đoạn jquery rồi thì bỏ đoạn này trong code đi để tránh gây xung đột.
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' type='text/javascript'/>
LỜI KẾT
Chúc bạn thành công!