<script>
setInterval(translate, 333);
function translate() {
for (const parent of document.querySelectorAll("span")) {
for (const child of parent.childNodes) {
if (child.data == "Save") {
child.data = "placeholder";
}
if (child.data == "Edit") {
child.data = "placeholder";
}
if (child.data == "Done") {
child.data = "placeholder";
}
if (child.data == "Or") {
child.data = "placeholder";
}
if (child.nodeValue && child.nodeValue.includes("Showing")) {
child.nodeValue = child.nodeValue.replace("Showing", "placeholder").replace("of", "placeholder").replace("results", "placeholder")
}
if (child.data == "Send a message") {
child.data = "placeholder";
}
}
}
for (const parent of document.querySelectorAll("button")) {
for (const child of parent.childNodes) {
if (child.data == "Confirm") {
child.data = "placeholder";
}
if (child.data == "Cancel") {
child.data = "placeholder";
}
if (child.data == "Sign out") {
child.data = "placeholder";
}
if (child.data == "Next") {
child.data = "placeholder";
}
if (child.data == "Sign in") {
child.data = "placeholder";
}
if (child.data == "Email me a recovery link") {
child.data = "placeholder";
}
if (child.data == "Previous") {
child.data = "placeholder";
}
}
}
for (const parent of document.querySelectorAll("a")) {
for (const child of parent.childNodes) {
if (child.data == "View profile") {
child.data = "placeholder";
}
if (child.data == "Forgot your password?") {
child.data = "placeholder";
}
}
}
for (const parent of document.querySelectorAll("h2")) {
for (const child of parent.childNodes) {
if (child.data == "Sign in to your account") {
child.data = "placeholder";
}
if (child.data == "Recover your password") {
child.data = "placeholder";
}
}
}
for (const parent of document.querySelectorAll("h3")) {
for (const child of parent.childNodes) {
if (child.data == "Magic link sent!") {
child.data = "placeholder";
}
if (child.data == "Use your password to sign in") {
child.data = "placeholder";
}
}
}
for (const parent of document.querySelectorAll("p")) {
for (const child of parent.childNodes) {
if (child.nodeValue && child.nodeValue.includes("We have sent an email to")) {
child.nodeValue = "placeholder";
}
else if (child.nodeValue && child.nodeValue.includes("Just click the link in the email to sign in!")) {
child.nodeValue = "placeholder";
}
if (child.nodeValue && child.nodeValue.includes("If we find your account we will send you an email with more instructions. Just click the link if you get it")) {
child.nodeValue = "placeholder";
}
}
}
for (const parent of document.querySelectorAll("label")) {
for (const child of parent.childNodes) {
if (child.data == "Email address") {
child.data = "placeholder";
}
if (child.data == "Your email") {
child.data = "placeholder";
}
}
}
for (const parent of document.querySelectorAll("li")) {
for (const child of parent.childNodes) {
if (child.data == "Text length should be equal to 4 characters") {
child.data = "placeholder";
}
}
}
for (const parent of document.querySelectorAll("input")) {
if (parent.placeholder == "Password") {
parent.placeholder = "placeholder";
}
if (parent.placeholder == "lisa@example.com") {
parent.placeholder = "placeholder";
}
if (parent.placeholder == "Search...") {
parent.placeholder = "placeholder";
}
}
}
</script >