您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
visualstudio marketplace toolkit by Theo·Chan
- // ==UserScript==
- // @name visualstudio marketplace toolkit
- // @namespace http://tampermonkey.net/
- // @version 2025-06-05
- // @description visualstudio marketplace toolkit by Theo·Chan
- // @author Theo·Chan
- // @match *://marketplace.visualstudio.com/*
- // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
- // @license AGPL-3.0-or-later
- // ==/UserScript==
- (function () {
- 'use strict';
- //--------------------------marketplace.visualstudio.com----download-------------------------------//
- let vsMarketDownloader = (function () {
- return {
- addDownloadBtn: function () {
- if (window.location.host.toUpperCase() !== 'MARKETPLACE.VISUALSTUDIO.COM') return false;
- let arr = window.location.href.split('?')[1].split('=')[1].split('.');
- let author = arr[0];
- let id = arr[1];
- var histories = document.querySelectorAll('tr.version-history-container-row');
- for (var i = 1; i < histories.length; i++) {
- let version = histories[i].firstChild.textContent;
- let a = document.createElement('a');
- a.className = 'bowtie-icon bowtie-install';
- a.style = 'margin-left: 1rem;'
- a.href = `https://marketplace.visualstudio.com/_apis/public/gallery/publishers/${author}/vsextensions/${id}/${version}/vspackage`;
- histories[i].firstChild.appendChild(a);
- }
- return true;
- }
- }
- })();
- setTimeout(() => {
- vsMarketDownloader.addDownloadBtn();
- }, 1200);
- }) ();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址