8086 (220.♡.153.210)
2026년 3월 6일 AM 02:00
어디까지나 임시적이지만 일단은 web.damoang.net 구버전이 더 쓰기 편한 것 같아서요..
새 사이트에서 작성한 게시물들은 본문에 html 태그가 그대로 노출되는데, 아래 스크립트를 통해 해결하면 됩니다.
Firefox라면 'FireMonkey' 확장 프로그램을 쓰시고, 크롬 계열이라면 'ViolentMonkey' 확장 프로그램을 쓰시면 됩니다. 안드로이드의 경우 Firefox가 확장 프로그램을 지원합니다. iOS는 모르겠습니다.ㅠ;;
[code]
// ==UserScript==
// @name old damoang fix
// @match *://web.damoang.net/*
// @version 1.0
// ==/UserScript==
// stolen from https://stackoverflow.com/questions/1912501/unescape-html-entities-in-javascript
function htmlDecode(input) {
var doc = new DOMParser().parseFromString(input, "text/html");
return doc.documentElement.textContent;
}
var f = document.getElementById('bo_v_con').innerHTML;
if (f.includes('<p>')) {
document.getElementById('bo_v_con').innerHTML = htmlDecode(f);
}
[/code]
(260307 수정)
댓글 (1)
-
커커널패닉
03.06 · 119.♡.59.225
댓글을 작성하려면 이 필요합니다.
https://orionbrowser.com