Skip to content

Commit

Permalink
Merge branch 'main' into feature/mail_master
Browse files Browse the repository at this point in the history
  • Loading branch information
itsalongstory authored Jul 8, 2020
2 parents ae4a92b + 8576c7e commit 984b0af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/browser/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def maxthon?(expected_version = nil)
Maxthon.new(ua).match? && detect_version?(full_version, expected_version)
end

# Detect if browser is NetEase Mail Master.
def mail_master?(expected_version = nil)
MailMaster.new(ua).match? &&
detect_version?(full_version, expected_version)
Expand Down

0 comments on commit 984b0af

Please sign in to comment.