您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Download profile pic from vsco.co
// ==UserScript== // @name download profile pic - vsco.co // @namespace Violentmonkey Scripts // @match *://vsco.co/* // @grant none // @version 1.3.1 // @author Edgeburn Media // @description Download profile pic from vsco.co // @license MIT // ==/UserScript== function setUpDownloadButton(img) { let src = img.src; // create a button that will download the image let button = document.createElement("button"); // set the text of the button button.innerHTML = "\u2193 Download Profile Pic"; button.classList.add("nav__logo-items"); // set the onclick attribute of the button to a function button.onclick = function () { // store the src in a variable let u = src; // replace the size=120 in the url with size=960 u = u.replace("size=120", "size=960"); // open u in a new tab window.open(u); }; img.parentElement.addEventListener("click", function () { let u = src; u = u.replace("size=120", "size=960"); window.open(u); }); // append the button to the div if (!document.querySelector(".touch")) { document.querySelector(".nav__logo-items").appendChild(button); } button.style.cssText = "width:200px;height:50px;background-color:green;"; } window.addEventListener( "load", function () { let img = document.querySelector(".css-x3m333"); setUpDownloadButton(img); }, false );
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址