ie8 compatibility

Since we are mainly ie8, the problems encountered are recorded as follows:

1.

new Date('2018/01/09'); // ie8只认 斜杠/ ,而火狐只认 横线-  

2.
iframe:
Feign death occurs in iframe under ie8, and the statement is changed to

<!DOCTYPE html>  

That's fine (it was a mess, some haven't), sometimes the iframe plus positioning still can't be displayed, and when remove under IE8, the iframe can't really be removed, for example, there is audio in the iframe, but it will still ring , you can clear the src first, and then remove, at least to ensure that no sound.

3.
If left is used for positioning elements, then under ie8, jq $.css('right') gets 'auto', and Google can get the specific value.

4.
The stay time of each frame of gif gif cannot be 10~50ms, otherwise it will automatically become 100ms per frame under IE8, which will be slower.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325776882&siteId=291194637