久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <legend id='fSHVx'><style id='fSHVx'><dir id='fSHVx'><q id='fSHVx'></q></dir></style></legend>
      • <bdo id='fSHVx'></bdo><ul id='fSHVx'></ul>

      <small id='fSHVx'></small><noframes id='fSHVx'>

      <tfoot id='fSHVx'></tfoot>
    1. <i id='fSHVx'><tr id='fSHVx'><dt id='fSHVx'><q id='fSHVx'><span id='fSHVx'><b id='fSHVx'><form id='fSHVx'><ins id='fSHVx'></ins><ul id='fSHVx'></ul><sub id='fSHVx'></sub></form><legend id='fSHVx'></legend><bdo id='fSHVx'><pre id='fSHVx'><center id='fSHVx'></center></pre></bdo></b><th id='fSHVx'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='fSHVx'><tfoot id='fSHVx'></tfoot><dl id='fSHVx'><fieldset id='fSHVx'></fieldset></dl></div>

        使用 Javascript 讀取環境變量

        Reading environment variables with Javascript(使用 Javascript 讀取環境變量)
          <i id='YFido'><tr id='YFido'><dt id='YFido'><q id='YFido'><span id='YFido'><b id='YFido'><form id='YFido'><ins id='YFido'></ins><ul id='YFido'></ul><sub id='YFido'></sub></form><legend id='YFido'></legend><bdo id='YFido'><pre id='YFido'><center id='YFido'></center></pre></bdo></b><th id='YFido'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='YFido'><tfoot id='YFido'></tfoot><dl id='YFido'><fieldset id='YFido'></fieldset></dl></div>
          <tfoot id='YFido'></tfoot>
            <bdo id='YFido'></bdo><ul id='YFido'></ul>
            <legend id='YFido'><style id='YFido'><dir id='YFido'><q id='YFido'></q></dir></style></legend>

                    <tbody id='YFido'></tbody>

                  <small id='YFido'></small><noframes id='YFido'>

                  本文介紹了使用 Javascript 讀取環境變量的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我需要從客戶端操作系統的環境變量中讀取系統時間.我在 Stackoverflow 上搜索,發現這是不可能的.但是,這些答案來自 2010 年,我想問一下自那以后是否有任何變化.

                  I need to read the system time from the environment variables on the client's OS. I searched on Stackoverflow and found that this isn't possible. However, those answers were from 2010 and I want to ask if anything has changed since.

                  是否有可能使用某種框架?還是 Javascript 仍處于沙盒狀態并與操作系統斷開連接?

                  Is it possible with some kind of framework? or Javascript is still sandboxed and cut off from OS?

                  推薦答案

                  szpic,如果 Javascript 沒有從操作系統沙箱化,任何愚蠢的犯罪分子都可能進入您的計算機并控制.允許環境變量的級別太低了,永遠不允許.

                  szpic, if Javascript were not sandboxed from the OS, any half-witted criminal could get onto your computer and take control. Allowing environmental variables is way too low level to ever be allowed.

                  看看你所有的環境變量,問問自己這個星球上的每個人是否都應該有權訪問關于你計算機的所有數據.

                  Take a look at all of your environmental variables and ask yourself if everyone on the planet should have access to all that data about your computer.

                  如果您想使用 Javascript 執行此操作,則必須使用特殊的網絡瀏覽器,例如 node-webkit.不過,它不會在任何普通的網絡瀏覽器上運行,所以不要期望超過 0.0001% 的人會期望運行您的頁面.

                  If you want to do this with Javascript, you'll have to use a special web browser, such as node-webkit. It isn't going to run on any normal web browser, though, so don't expect more than 0.0001% of the population to expect to run your page.

                  我不知道你的預期用途,但是一個技巧,就是加入一個環境變量,就是為你的 web 應用程序創建一個快捷方式,并將其作為 URL 參數包含在其中(至少在 Winblows 上).

                  I don't know your intended use, but one trick, to throw in an environmental variable, is to make a shortcut to your web application, and include it in there as a URL parameter (at least on Winblows).

                  http://myapp.com?computername=%COMPUTERNAME%
                  

                  這篇關于使用 Javascript 讀取環境變量的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調用完成)
                  JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                  XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發技術分
                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內容)
                  Restrictions of XMLHttpRequest#39;s getResponseHeader()?(XMLHttpRequest 的 getResponseHeader() 的限制?)

                1. <i id='ZsjI2'><tr id='ZsjI2'><dt id='ZsjI2'><q id='ZsjI2'><span id='ZsjI2'><b id='ZsjI2'><form id='ZsjI2'><ins id='ZsjI2'></ins><ul id='ZsjI2'></ul><sub id='ZsjI2'></sub></form><legend id='ZsjI2'></legend><bdo id='ZsjI2'><pre id='ZsjI2'><center id='ZsjI2'></center></pre></bdo></b><th id='ZsjI2'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='ZsjI2'><tfoot id='ZsjI2'></tfoot><dl id='ZsjI2'><fieldset id='ZsjI2'></fieldset></dl></div>

                    <tfoot id='ZsjI2'></tfoot>
                      <tbody id='ZsjI2'></tbody>

                        <bdo id='ZsjI2'></bdo><ul id='ZsjI2'></ul>
                        <legend id='ZsjI2'><style id='ZsjI2'><dir id='ZsjI2'><q id='ZsjI2'></q></dir></style></legend>
                        • <small id='ZsjI2'></small><noframes id='ZsjI2'>

                            主站蜘蛛池模板: 国产一区二区视频在线 | 亚洲精品久久久一区二区三区 | 成人中文字幕在线观看 | 黄色片在线看 | 91精品国产91久久久久久最新 | 久久乐国产精品 | 久操伊人 | 麻豆a级片 | 日本在线一二 | 天天插天天搞 | 精品一区二区久久久久久久网站 | 天天操天天天干 | 欧美一级二级在线观看 | www国产成人免费观看视频 | 四虎影音| 欧美成人精品在线观看 | 国产免费视频 | 亚洲一区二区精品视频 | 嫩草视频在线 | 国产精品久久久久久久三级 | a黄毛片| 亚洲一区视频在线 | 精品成人免费一区二区在线播放 | av日韩精品| 男女搞网站 | 国产精品久久久久久久午夜片 | 欧美一区二区三区在线观看 | 亚洲一区二区三区在线视频 | 国产精品久久久久久久三级 | 午夜寂寞影院列表 | 欧美 日韩 国产 成人 | 国产精品av久久久久久久久久 | 国产999精品久久久久久 | 国产一级片一区二区 | 日韩伦理一区二区 | 国产高清精品一区二区三区 | a在线视频 | 亚洲欧美一区二区三区1000 | 欧美自拍一区 | 天堂久久天堂综合色 | 久久99国产精一区二区三区 |