您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
在必应首页右下角添加一个背景图片下载按钮
当前为
// ==UserScript== // @name Download Bing Background Image - bing.com // @name:zh-CN 必应首页背景图片下载 // @description Add download button to Bing homepage. // @description:zh-CN 在必应首页右下角添加一个背景图片下载按钮 // @namespace Violentmonkey Scripts // @match https://*.bing.com/ // @grant none // @version 0.1 // @author Alvin // @description 2021/1/14 上午10:34:56 // @run-at document-idle // ==/UserScript== var parent = document.getElementById('sh_rdiv'); parent.innerHTML += '<a role="button" id="downBtn" title="Download image" aria-label="Download image" role="button" target="_blank" href="" h="ID=SERP,5054.1" style="cursor: pointer;"><div class="sc_light" style="visibility: visible;"><div id="sh_lt" class="hpcDown"></div></div></a>'; var btn = document.getElementById('downBtn'); btn.addEventListener('click', function() { var bg = document.getElementById('bgDiv').style.backgroundImage; imgUrl = bg.slice(4, -1).replace(/"/g, ""); btn.href = imgUrl; }, false);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址