xoatu

try to take over the world!

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         xoatu
// @version      3
// @description  try to take over the world!
// @author       P
// @include      https://www3.chotot.com/*  
// @grant        none
// @run-at       document-end
// @namespace https://greasyfork.org/users/110837
// ==/UserScript==


var res1,res2,string1,string2,re;
var soad= document.getElementsByName("body").length;

//xóa tiêu đề//
function xoatieude(tucanxoa)
{
    re = new RegExp(tucanxoa, "gi"); //g (chính xác) hoặc gi (gần giống)
    var i=0;
    while(i<soad)
    {
        string1 = document.getElementsByName("subject")[i].value;
        res1 = string1.replace(re, "");
        document.getElementsByName("subject")[i].value = res1;
        i++;
    }
}
//xóa nội dung//
function xoanoidung(tucanxoa)
{
    re = new RegExp(tucanxoa, "g"); //g (chính xác) hoặc gi (gần giống)
    var i=0;
    while(i<soad)
    {
        string2 = document.getElementsByName("body")[i].value;
        res2 = string2.replace(re, "");
        document.getElementsByName("body")[i].value = res2;
        i++;
    }
}


//keyword tiêu đề//
xoatieude("cần ");
xoatieude("cần");
xoatieude("mua ");
xoatieude("mua");
xoatieude("bán ");
xoatieude("bán");

xoatieude("giá ");
xoatieude("giá");

xoatieude("tỷ ");
xoatieude("tỷ");

xoatieude("tuyển ");
xoatieude("tuyển");

xoatieude("tìm ");
xoatieude("tìm");

xoatieude("nhất ");
xoatieude("nhất");

xoatieude("cho thuê ");
xoatieude("cho thuê");

xoatieude("cần thuê ");
xoatieude("cần thuê");

xoatieude("thuê ");
xoatieude("thuê");

xoatieude("đẹp ");
xoatieude("đẹp");

xoatieude("tốt ");
xoatieude("tốt");

xoatieude("rẻ ");
xoatieude("rẻ");


xoatieude("thanh lý ");
xoatieude("thanh lý");


//keyword nội dung//
xoanoidung("duy nhất ");
xoanoidung("duy nhất");
xoanoidung("Duy Nhất ");
xoanoidung("Duy Nhất");
xoanoidung("Duy nhất ");
xoanoidung("Duy nhất");
xoanoidung("nhất ");
xoanoidung("nhất");




/*alert(document.getElementsByName("subject")[0].value);
alert(document.getElementsByName("body")[0].value);
alert(document.getElementsByName("body").length);*/