File tree 1 file changed +20
-0
lines changed
plugins-server/cloud9.core/view
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 127
127
}
128
128
//]]>
129
129
</ script >
130
+
131
+ < script >
132
+ // browser requirement check
133
+ require ( [ apfLoc ] , function ( ) {
134
+ // we don't do this on a non-hosted version...
135
+ // the file won't be there, so no need to
136
+ if ( ! window . cloud9config . hosted ) return ;
137
+
138
+ // if you pass `force=true` into the querystring, then
139
+ // we bypass the browser check
140
+ if ( ! window . location . search . match ( / \b f o r c e \= t r u e \b / ) ) {
141
+ // otherwise, ask apf
142
+ if ( apf . isIE ) {
143
+ // redirect to the notsupported page
144
+ var ref = encodeURIComponent ( window . location . pathname + window . location . search ) ;
145
+ window . location . href = "/site/notsupported.html?ref=" + ref ;
146
+ }
147
+ }
148
+ } ) ;
149
+ </ script >
130
150
</ head >
131
151
< body style ="display:none ">
132
152
< div id ="noscript ">
You can’t perform that action at this time.
0 commit comments