The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

No Right Click on Images or Content

3 posters

Go down

Solved No Right Click on Images or Content

Post by JH37 July 15th 2015, 1:57 am

Hello there,

Is there any way that I can have a code or something when you try to right click your mouse to save as a image, that it comes up No right clicking? I only want to have this option to be used on the Portal page?

I know when you make a webpage that you can put a code in there to come up no right click allowed or Copyrighted... and so on...

Can we have an option for forums to do this too? Like I said I only want it to be on the Portal page, since everyone see that page.


Thank you,
Jen


Last edited by JH37 on July 15th 2015, 2:14 am; edited 1 time in total
JH37
JH37
Forumember

Posts : 63
Reputation : 1
Language : Eglish

Back to top Go down

Solved Re: No Right Click on Images or Content

Post by SLGray July 15th 2015, 2:10 am



No Right Click on Images or Content Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: No Right Click on Images or Content

Post by JH37 July 15th 2015, 2:14 am

Complete
JH37
JH37
Forumember

Posts : 63
Reputation : 1
Language : Eglish

Back to top Go down

Solved Re: No Right Click on Images or Content

Post by Van-Helsing July 15th 2015, 2:20 am

Hello @JH37,
To disable right click on images go to your ACP->Modules->Javascript Management

Create a new Javascript
Title: What you wish
Placement: In all the pages
Javascript Code:
Code:

        $(document).ready(function(){
        $('img').on('contextmenu', function(e) {
        alert('Forum Name: Copy Content is prohibited on this forum.');
        return false;
        });
        $('img').on('dragstart', function(e) {
        alert('Forum Name: Copy Content is prohibited on this forum.');
        return false;
        });
        });

and press submit.

You can replace the value "Forum Name:" with your forum name. This code is disable right click on images and drag n' drop functions.
Van-Helsing
Van-Helsing
Hyperactive

Male Posts : 2431
Reputation : 116
Language : English, Greek

http://itexperts.forumgreek.com/

Back to top Go down

Solved Re: No Right Click on Images or Content

Post by SLGray July 15th 2015, 2:32 am

Topic solved and archived


No Right Click on Images or Content Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum