显示半次元(bcy.net)图片的大图url(下载辅助)

显示半次元图片的大图url,可以复制下来使用下载软件批量下载。有的图片无后缀名是半次元里就是那样

当前为 2019-01-22 提交的版本,查看 最新版本

// ==UserScript==
// @name         显示半次元(bcy.net)图片的大图url(下载辅助)
// @namespace    http://www.saber.xn--6qq986b3xl/?p=3013
// @version      0.5
// @description  显示半次元图片的大图url,可以复制下来使用下载软件批量下载。有的图片无后缀名是半次元里就是那样
// @author       雪见仙尊
// @match        https://bcy.net/*/detail/*
// @grant        none
// @run-at		document-end
// ==/UserScript==

/*
 *@作者:雪见仙尊
 *@博客:https://saber.love
 *@QQ群:562729095
 */

document.body.insertAdjacentHTML('beforeend', `<div id="shouUrl" style="position: fixed; right: 0px; top: 100px; padding: 15px 20px; background: rgb(46, 178, 234); color: rgb(255, 255, 255); border-radius: 5px; text-align: center; line-height: 24px; font-size: 16px; cursor: pointer;">显示大图url</div>`);
document.querySelector("#shouUrl").addEventListener("click", () => {
	let newW = window.open();
	document.querySelectorAll(".img-wrap img").forEach(el => {
		newW.document.write(/.*(\.jpg|\.png)/.exec(el.src)[0].replace(/p\d.*banciyuan/, 'img-bcy-qn.pstatp.com') + '<br>');
	});
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址