您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the blur on mature DeviantArt posts saved in the WaybackMachine.
当前为
// ==UserScript== // @name WaybackMachine DeviantArt remove mature blur (kind of) // @version 1.2 // @description Removes the blur on mature DeviantArt posts saved in the WaybackMachine. // @author Creepler13 // @match https://web.archive.org/web/*/https://www.deviantart.com/*/art/* // @icon https://www.google.com/s2/favicons?sz=64&domain=archive.org // @namespace http://tampermonkey.net/ // ==/UserScript== (function () { "use strict"; setInterval((e) => { fixImage(); fixText(); }, 100); })(); function fixText() { if (!window.__INITIAL_STATE__) for (let script of document.querySelectorAll("script")) { if (script.textContent.trim().startsWith("window.__BASEURL")) { eval(script.textContent); let id = window.location.href.split("-").pop(); let deviation = window.__INITIAL_STATE__["@@entities"].deviation; deviation = deviation[id]; try{ let json = JSON.parse(deviation.textContent.html.markup); let state = Draft.convertFromRaw(json); let editorState = Draft.EditorState.createWithContent(state); let elem = React.createElement(Draft.Editor, { editorState: editorState,readOnly:true }, null); ReactDOM.render(elem,document.querySelectorAll("section")[1]) }catch(e){ document.querySelectorAll("section")[1].innerHTML=deviation.textContent.html.markup; } } } } function fixImage() { let imageDiv = document.querySelector('div[style^="background-image"]'); if (!imageDiv) return; imageDiv.className = imageDiv.className.split(" ")[0]; for (let e of imageDiv.parentElement.parentElement.childNodes) { if (e != imageDiv.parentElement) { e.remove(); let styles = " div::before { display:none;} "; let styleSheet = document.createElement("style"); styleSheet.innerText = styles; styleSheet.id = "removeAgeRestriction"; document.body.append(styleSheet); } } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址