• Girl in a jacket
    Use the buttons to help the community. Admins and Moderators will delete not working content!
  • Note that we do not host any files on our servers; users just link to it. If you wish to have content removed, please contact the host of the file.

Sinfulsite.com Prevent image [tested on this forum]

Content from Sinfulsite.com

Jitter


Heaven
Joined
Dec 5, 2020
Messages
115,661
Likes
59,217
Awards
8
Etercoin
0
LV
25
 
Prevent from right click for save & disable drag

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
 
This Thread had not been rated yet
Debrid Link

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.



User Menu