Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Firefox浏览器URL中使用环境变量_Firefox_Url_Variables_Environment - Fatal编程技术网

在Firefox浏览器URL中使用环境变量

在Firefox浏览器URL中使用环境变量,firefox,url,variables,environment,Firefox,Url,Variables,Environment,我试图使用Firefox浏览器浏览unix路径中的一些html文件。有没有办法在Firefox中使用环境变量作为URL?还有可能把它加入书签 例如: file://$PATH/index.html 这可能是不可能的,因为unix中的环境变量与shell相关联。例如,在.bashrc中定义。据我所知,Firefox与您的shell没有交互,但这并不是说它不能通过扩展编程

我试图使用Firefox浏览器浏览unix路径中的一些html文件。有没有办法在Firefox中使用环境变量作为URL?还有可能把它加入书签

例如:

file://$PATH/index.html

这可能是不可能的,因为unix中的环境变量与shell相关联。例如,在.bashrc中定义。据我所知,Firefox与您的shell没有交互,但这并不是说它不能通过扩展编程