Jump to content
X2Community Forums

Protecting Contacts and X2Leads from "Copy and Paste"


Recommended Posts

Hi All,

 

Is there a way to protect the CRM from users from "Copy and Paste" from X2Leads and Contacts into a spreadsheet?

 

I've found this code:

================

 

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript">
$(function() {
$(this).bind("contextmenu", function(e) {
e.preventDefault();
});
});
</script>
<script type="text/JavaScript">
function killCopy(e){ return false }
function reEnable(){ return true }
document.onselectstart=new Function ("return false");
if (window.sidebar)
{
document.onmousedown=killCopy;
document.onclick=reEnable;
}
</script>

 

================

 

Where would one put it?

 

 

Link to post
Share on other sites

Hi Robert!

 

Are there any error messages? I can't debuge the js for you but I will recommend looking at console errors and

maybe server side errors.

It could be the issue with the JS you are inserting due to it using document which can vary depending on

how different websites create their view pages. 

 

This is not a feature or bug we currently have so I can't help you much but 

with a simple debugging I think is it possible! Wish you all the luck!

 

Sincerely,

Justin

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...