zoukankan      html  css  js  c++  java
  • chrome Web开放 字体格式不能显示问题

    /**
    * Chrome 32/33 webfont issue fix.
    * Requires jQuery.
    * More info: http://blog.cloudfour.com/chrome-webfont-issues/
    */
     
    (function($, window){
    // only proceed if this is Chrome
    if (window.navigator.userAgent.indexOf('Chrome') === -1) return;
    // only proceed if the version is 32 or greater
    var version = parseInt(window.navigator.appVersion.match(/Chrome/(d+)./)[1], 10);
    if (version < 32) return;
    // once the page has loaded, change the width of the body just
    // slightly enough to force a re-paint
    $(window).load(function(){
    var $body = $('body');
    $body.css('width', $body.width() + 1);
    $body.css('width', '');
    });
    })(jQuery, this);
  • 相关阅读:
    《我与我的父辈》影评
    如何进行时间规划?
    内向者相关
    修己 0815
    loj 3102
    StringSequences
    解方程
    problem B
    uoj424 count
    fft相关的复习
  • 原文地址:https://www.cnblogs.com/chuangweili/p/5165993.html
Copyright © 2011-2022 走看看