您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Get the Bing Background image on WeTransfer
当前为
// ==UserScript== // @name Clean WeTransfer/Smash With Bing Background // @namespace WT // @description Get the Bing Background image on WeTransfer // @match *://wetransfer.com/* // @match *://we.tl/* // @match *://*.fromsmash.com/* // // @version 2.0.0 // @author SioGabx / PXL Carpets // @grant GM_xmlhttpRequest // @icon https://i.ibb.co/pntBGWq/we.png // @connect bing.com // @license MIT // ==/UserScript== // project url : https://gf.qytechs.cn/en/scripts/481935/ //PXL Carpets original code : https://gf.qytechs.cn/fr/scripts/30158-wetransfer function WeTransfer(css) { let head = document.getElementsByTagName('head')[0]; if (!head) { return; } let style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } var r = document.querySelector(':root'); function GetImageURL(ans) { var suffix = ans.images[0].url r.style.setProperty('--background-sio-fix', 'url("http://bing.com/' + suffix + '"'); } function getImage(){ GM_xmlhttpRequest({ method: "GET", url: "https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1", headers: { "Content-Type": "application/json" }, onload: function(response) { var ans = JSON.parse(response.responseText); GetImageURL(ans); } }); } getImage(); WeTransfer( ` body,.container-background-image,.content-image-background { background-color: #000 !important; background-image:var(--background-sio-fix)!important; background-size: cover!important; } .wallpaper, .nav__label { pointer-events: none !important; opacity: .8 !important; } #wallpaper-container * { display: none; } iframe { display: none; } .wp-wrapper,.app,.application,div[data-testid=wallpaper-container] { background-color: transparent !important; } video{ visibility:hidden } ` );
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址