I've got quiz application. Where robot ask different questions in chat, this questions belong to different areas of knowledges. User that answered question first, receive points. The problem is, that some users googling answers. I want somehow prevent users from coping question from web page and googling answers.
I'm not even sure, that this is possible, anyway probably someone got any ideas
If you are using JQuery then use:
Call this function where you want to disable.
Here: How to disable text selection highlighting using CSS?
Disallow them from being able to answer when the window's onBlur event is fired. They can still use other devices, but they won't be able to cheat on the same computer.
You could query each given answer with google and in case there is no exact match, it's very likely that the user has typed it in by him/herself and you can grant points.
In your div tag where you paste your question, add the following line of code:
This will prevent copying of anything that is within the tags...
Could you place a transparent PNG on top of the element that contains the quiz/question?