Adds user-agent detection for text-selection prevention