Prevent image [tested on mybb]

Started by FaridAzhar777, 01-30-2019

141
4
Prevent image [tested on mybb]
01-30-2019, 07:18 PM
#1
i want to share how to prevent your image from others

Code:
<script>
   $(document).ready(function () {
       $('img').on('dragstart', function () {
           return false;
       });
        $('img').on('contextmenu', function () {
           return false;
       });
   });
</script>
i tested this code on mybb v1.8.19, i added to headerinclude


#0


[-]
No Permission

You cannot reply or view replies as a guest.

Create an Account

Create a free account today and get all features available. It only takes a few seconds.

Log In

Log into an existing account.


« Next Oldest | Next Newest »


Possibly Related Threads...
Thread Author Replies Views Last Post
Pizza Hut Coupon Generator 2019 [Tested] FaridAzhar777 3 108 Yesterday, 12:00 AM
Last Post: naufalez



1 Guest(s)