xoatu

try to take over the world!

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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);*/