File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -1845,6 +1845,20 @@ <h3>Import Options</h3>
1845
1845
border:1px solid #000; box-shadow:3px 3px 0 #000; ">
1846
1846
</ div >
1847
1847
< script >
1848
+ ( function ( ) {
1849
+ var ua = navigator . userAgent || "" ;
1850
+ var isIPhone = / i P h o n e | i P o d / i. test ( ua ) ;
1851
+
1852
+ if ( isIPhone ) {
1853
+ document . body . innerHTML = `
1854
+ <div id="mobileWarning">
1855
+ <h1>Desktop or iPad Only</h1>
1856
+ <p>This app isn’t supported on iPhone. Please use an iPad or desktop.</p>
1857
+ </div>` ;
1858
+ throw new Error ( "iPhone not supported" ) ;
1859
+ }
1860
+ } ) ( ) ;
1861
+
1848
1862
if ( / A n d r o i d | w e b O S | i P h o n e | i P o d | B l a c k B e r r y | I E M o b i l e | O p e r a M i n i / i. test ( navigator . userAgent ) ) {
1849
1863
document . addEventListener ( "DOMContentLoaded" , function ( ) {
1850
1864
var warningDiv = document . createElement ( "div" ) ;
You can’t perform that action at this time.
0 commit comments