Prevent text selection, remove useless code.