the %xx into corresponding ascii chars?
write a small parser?
function htmlDecode(input){ var e = document.createElement('textarea'); e.innerHTML = input; // handle case of empty input return e.childNodes.length === 0 ? "" : e.childNodes[0].nodeValue; } htmlDecode("<img src='myimage.jpg'>"); // returns "<img src='myimage.jpg'>"
search for "url decoder"
hit your Pc or laptop with a bat and go to sleep boy
const qs = require("querystring"); console.log(qs.parse(string))
https://stackoverflow.com/a/1912522/8137893
that's just urlEncoded
Обсуждают сегодня