JSenable

enable js on ST

질문, 리뷰하거나, 이 스크립트를 신고하세요.
// ==UserScript==
// @name         JSenable
// @namespace    http://tampermonkey.net/
// @version      2024-05-07 
// @description  enable js on ST
// @author       constantchange
// @match        http://127.0.0.1:8000/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=0.1
// @grant        none
// @license      MIT
// ==/UserScript==

const sanitize = DOMPurify.sanitize;
DOMPurify.sanitize = str => str.startsWith("#A") ? str.replace("#A", "") : sanitize(str);