您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Umożliwia pobranie pliku z oryginalną nazwą.
// ==UserScript== // @name Original Filename // @namespace https://wilchan.org // @version 0.2 // @description Umożliwia pobranie pliku z oryginalną nazwą. // @author Anonimas // @match https://wilchan.org/* // @match https://akanechan.org/* // @icon https://www.google.com/s2/favicons?sz=64&domain=wilchan.org // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; document.querySelectorAll(".info > .file").forEach(element => { element.setAttribute("download", element.childNodes[1].innerText + element.childNodes[3].innerText); }); window.addEventListener("after-create-post-section-element-event", function (event) { if (event.detail.post.file) { let postSectionElement = event.detail.element; let element = postSectionElement.querySelector(".info > .file"); element.setAttribute("download", event.detail.post.fileNameOriginal); } }, false); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址