An example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Could you add exclude phrase:
For Safari this phrase is Chrome)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | user_agent_class-exclude-trigger-2996222-12754324.patch | 9.71 KB | artsays |
Comments
Comment #2
artsays commentedCreated exclude field.
An example:
Safari User Agent:
Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2
Chrome User Agent contains Sarari trigger:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
For correct detect "Safari" by default trigger "Safari" need to add in exclude field "Chrome" because you can see "Chrome User Agent" contains Safari phrase
Comment #3
extatic commentedThe current patch works well with backend detection, but there is still some issue when JS-detection option selected.
Comment #4
extatic commentedFinally it works well with both of the methods, the browser cache made me to write previous comment. Sorry and tnx for the fix.
Comment #5
extatic commentedComment #6
artsays commentedThank you for your review!
Comment #7
artsays commented