บทความเกี่ยวกับ: เนื้อเรื่องคอนเทนต์ และ การนำทาง

ปิดการใช้งานฟังค์ชั่น เลือก และ copy ในร้านของคุณ

  1. EasyStore แอดมิน > ธีม  > แก้ไขแหล่งข้อมูล 



  1. ไปที่ layout > layout/theme.liquid



  1. เลื่อนลงมาด้านล่าง , วางโค้ดด้านล่างนี้ ก่อน  </body>


<script type="text/javascript">

$(document).ready(function () {

    $("body").css({

        "-webkit-touch-callout": "none",

        "-webkit-user-select": "none",

        "-khtml-user-select": "none",

        "-moz-user-select": "none",

        "-ms-user-select": "none",

        "user-select": "none"

    });

    //Disable cut copy paste

    $('body').bind('cut copy paste', function (e) {

        e.preventDefault();

    });

   

    //Disable mouse right click

    $("body").on("contextmenu",function(e){

        return false;

    });

});

</script>



  1. บันทึก

อัปเดตเมื่อ: 20/09/2022

บทความนี้เป็นประโยชน์หรือไม่?

แบ่งปันความคิดเห็นของคุณ

ยกเลิก

ขอบคุณ!