關於studiostyl.es網站scheme檔案無法下載的問題

來源:互聯網
上載者:User

標籤:點擊   檔案下載   sele   定義   cti   查看   exist   com   bsp   

轉載至 http://blog.sina.com.cn/s/blog_4de61e0d0102wfy8.html

 

原因是該網頁引用(Google的服務,懂了吧)的jquery檔案無法載入,導致方法失效。

在studiostyl.es中下載scheme檔案,點擊下載按鈕沒有響應,查看網頁源碼,發現下載按鈕的響應函數是downloadExisting(n),經過一番定位,找到了這個函數的定義位置在源碼開頭引入的指令檔中,如下所示。

 

function downloadExisting(n){

    var t=$("#downloadVersion").val(),i;

    switch(t){

         case"10.0":t=null;

         case"14.0":

          case"8.0":

          case"9.0":

          case"webmatrix":break;

          default:t=null

      }

     i="/settings/downloadScheme/"+n;

     t!=null&&(i+="?version="+t);

     document.location=i

}

從該函數的定義可以知道是將頁面內容定位到指定位置,指定位置的地址形式如下,將該命令輸入瀏覽器地址欄,Enter,彈出檔案下載對話方塊,就是這麼簡單,啊哈哈。

https://studiostyl.es/settings/downloadScheme/6?version=null

地址中的數字對應的是schemes檔案的ID,6是selenitic、61是son-of-obsidian、35是Humane Studio等等,可以通過網頁原始碼查看。參數version是VS的版本,預設是vs2010-vs2013,用null就可以了。

關於studiostyl.es網站scheme檔案無法下載的問題

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.