您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Vectorのページにダウンロードボタンを追加する
当前为
// ==UserScript== //// @name VectorDirectDL //// @description Vectorのページにダウンロードボタンを追加する //// @version 1.1x //// @namespace phodra //// @include http://www.vector.co.jp/soft/* //// @exsample http://www.vector.co.jp/soft/dl/win95/util/se169348.html //// @exsample http://www.vector.co.jp/soft/dl/winnt/util/se100730.html //// ==/UserScript== //(function (){ // var _h1= document.getElementsByTagName("h1")[0]; // var meta = document.evaluate( // "//meta[@name='download']", document, null, // XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); // var str = document.createElement("a"); // // if( meta.snapshotItem(0)!=null ){ // str.href = meta.snapshotItem(0).content; // str.innerHTML = "<br>Download It!"; // }else{ // var dl = document.evaluate( // "//a[@class='download']", document, null, // XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null); // str.href = dl.snapshotItem(0).getAttribute("href"); // str.innerHTML = "<br>Select DL File"; // } // _h1.insertBefore(str, null); //})();