在桌面点击html文档跳转到指定网站

 在windows桌面新建一个html文档,然后文档内容如下:

<script language="javascript">
    location.replace("https://www.baidu.com");
</script>

 然后点击百度.html,就会打开浏览器并跳转到百度。

猜你喜欢

转载自blog.csdn.net/Anenan/article/details/129081415
今日推荐