indexOf is faster then match for plain text and _user_agent is already lowercase (no need for /smth/i)
indexOf is faster then match for plain text and class_name for now is only lowercase (no need for /smth/i)