是否可以将某人重定向到多个文件:/// urls? [英] Is it possible to redirect someone to multiple file:/// urls at once?

查看:76
本文介绍了是否可以将某人重定向到多个文件:/// urls?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对编码很陌生,并试图一次打开多个file:/// URL。可能吗?如果是这样,怎么样?



我尝试过:



我尝试了多种解决方案,来自

Hi, I'm pretty new to coding, and am trying to open up multiple file:/// URLs at once. Is it possible? And if so, how?

What I have tried:

I've tried multiple solutions, from

<link rel="canonical" href="{Link}" />






to

<script type="text/javascript">
  window.open("{Link}","_self")
</script>



且两者均无效。当我运行代码时,它只是一个空白页。


and neither worked. When I run the code, it'll just be a blank page.

推荐答案

你的问题完全没有意义。



自动打开文件://网址是什么意思?你想显示控件中任何文件的内容吗?



你是什么意思替换URL并只是去其中的任何内容 ?如果你没有指定你想要加载的内容,你究竟会如何获得任何内容? URL是统一资源定位符。这是用于查找要与之交互的特定内容的标识符。如果没有URL,你将如何获得该内容?



如果您想下载内容,请在本地保存,然后将其加载到您的应用中要显示它,您仍然是加载相应文件的标识符!
Your question makes no sense at all.

What do you mean by "open up file:// urls automatically"? Do you want to display the content of whatever file that is in a control?

What do you mean by "replacing the URL and just go to whatever is in it"? How on earth are you going to get the content of anything if you don't specify what content you're trying to load? A URL is a Uniform Resource Locator. This is an identifier to locate specific content you want to interact with. How are you going to get that content without a URL?

If you're looking to download the content, save it locally, and then load it into your app later to display it, you still an identifier to load the appropriate file(s)!


这篇关于是否可以将某人重定向到多个文件:/// urls?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆