function schemeUrl(url,callbak){
    var ifr = document.createElement("iframe");
    ifr.src = url; /***打开app的协议,如zhe800://goto_home***/
    ifr.style.display = "none";
    document.body.appendChild(ifr);
    //app没反应1s后执行另外的方法
    window.setTimeout(function(){
      document.body.removeChild(ifr);
      if(typeof callbak == 'function'){callbak();}
    },1000)
};

相关文章:

  • 2021-12-13
  • 2021-07-02
  • 2021-08-16
  • 2021-08-08
  • 2021-08-05
  • 2022-12-23
  • 2021-09-25
猜你喜欢
  • 2022-01-09
  • 2021-12-03
  • 2021-10-13
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案