LinkedIn Javascript SDK使用Chrome,而不是Safari

LinkedIn Javascript SDK使用Chrome,而不是Safari,javascript,google-chrome,safari,linkedin,Javascript,Google Chrome,Safari,Linkedin,我的标签中有以下JS代码: <script> function hello() { alert('blah'); } </script> <script type="text/javascript" src="https://platform.linkedin.com/in.js"> onLoad: hello api_key: xxxxx </script> 函数hello(){ 警惕(“废话”); } 加载:你好 a

我的
标签中有以下JS代码:

<script>
  function hello() {
    alert('blah');
  }
</script>
<script type="text/javascript" src="https://platform.linkedin.com/in.js">
  onLoad: hello
  api_key: xxxxx
</script>

函数hello(){
警惕(“废话”);
}
加载:你好
api_密钥:xxxxx
在Chrome(61.0.3163.100)中,此警报已成功发出,但在Safari(11.0(13604.1.38.1.6))中,任何控制台消息或任何事件都不会发生。不用说,我无法使用任何SDK函数。我已经检查了网络检查器,SDK确实正在加载。我有很高比例的Safari用户,所以我不能忽视他们。有什么建议吗