Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

trigger by default inside facebook browser on iOS #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions jquery.smartbanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
this.type = this.options.force
} else if (UA.match(/Windows Phone 8/i) != null && UA.match(/Touch/i) !== null) {
this.type = 'windows'
} else if ((UA.match(/FBAN/) || UA.match(/FBAV/) || UA.match(/FB_IAB/)) && UA.match(/iPhone/)) {
this.type = 'ios';
} else if (UA.match(/iPhone|iPod/i) != null || (UA.match(/iPad/) && this.options.iOSUniversalApp)) {
if (UA.match(/Safari/i) != null &&
(UA.match(/CriOS/i) != null ||
Expand Down