0

我有这个 JavaScript 代码和 Html 代码。代码刷新并加载了 dataurl,但此代码在 2017 年停止工作,浏览器不再加载它。

html:

<html xmlns="http://www.w3.org/1999/xhtml">    

  <head>      

    <title>news update</title>      

    <meta http-equiv="refresh" content="0;URL=''" />    

  </head>    

</html> 

JavaScript:

<script type="text/javascript">

    window.location=""

</script>

这已经是 2019 年了,一些知识渊博的人已经解决了这个问题,这将是很棒的。谢谢

4

0 回答 0