Copying and pasting is really common, since it was invented in the 1980s by Larry Tesler. But sometimes users go mad with all the data in their clipboard. Therefore, it might be useful to implement some security measures into your website, especially into a contact form page or UGC part. This comes with the benefit that not only your users will see that you care about their data. Also, your aggregated data won’t be messed up and confuse your analysts. That’s why I searched for some security features regarding a safe user input/data aggregation.
For people who copy and paste a lot of stuff while they are surfing, I would recommend installing ClipTTL on their local machines. On the website owner side, you can’t bring up your users to care about, but you maybe can prevent the worst outcomes.
To achieve this, I want the browser tab to reload the page where critical data will be inserted. This reload should occur when the user switches tabs and returns, or when in general the user loses focus on the relevant page. To get this done, you can implement some JavaScript into the relevant webpage. The code goes like this:
var blurred = false;
if( window.location.href.indexOf
('/URL/') !== -1 ) {
window.onblur = function() { blurred = true; };
window.onfocus = function() { blurred && (location.reload()); };
}
This will reload the browser tap and your users won’t paste in some data coincidentally. You can find it in action on the 3close contact page.
But please be aware to inform your users about this unusual behavior, else they will go mad.
Here you can find additional information or just contact 3close.
Leave a Reply