File tree 2 files changed +24
-1
lines changed
2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE HTML>
2
+ < html >
3
+ < head >
4
+ < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
5
+ < title >
6
+ Navigator Output
7
+ </ title >
8
+ < style >
9
+ label { font-weight : bold; }
10
+ label : after { content : ":" ; margin-right : 5px ; }
11
+ </ style >
12
+ </ head >
13
+ < body >
14
+ < div id ="nav "> </ div >
15
+ < script >
16
+ var nav = document . getElementById ( 'nav' ) , i , v ;
17
+ for ( i in navigator ) {
18
+ var v = navigator [ i ] ;
19
+ nav . innerHTML += '<div><label>' + i + '</label>' + v + '</div>' ;
20
+ }
21
+ </ script >
22
+ </ body >
23
+ </ html >
Original file line number Diff line number Diff line change 177
177
* Which features require emulating?
178
178
*/
179
179
History . emulated = {
180
- pushState : ! Boolean ( window . history && window . history . pushState && window . history . replaceState )
180
+ pushState : ! Boolean ( window . history && window . history . pushState && window . history . replaceState && navigator . platform !== 'iPhone' )
181
181
} ;
182
182
183
183
/**
You can’t perform that action at this time.
0 commit comments