UNPKG

zbadword

Version:

ZBadWord Adalah Modul untuk menyensor dan memeriksa kata-kata terlarang

17 lines (16 loc) 6.42 kB
let dataBadword = ["ancuk", "ancok", "ajig", "anjay", "anjing", "anying", "anjir", "asu", "asyu", "pler", "pantek", "babi", "bangsat", "bego", "brengsek", "gila", "goblok", "jancuk", "kampret", "keparat", "kontol", "lonte", "monyet", "pecundang", "pelacur", "pepek", "sialan", "tai", "ngentot", "mesum", "bokep", "porno", "sange", "ngewe", "ewe", "evv", "sundel", "bugil", "telanjang", "janda", "memek", "jembut", "payudara", "masturbasi", "ngocok", "oral", "anal", "vagina", "sundal", "penis", "ereksi", "kelamin", "sexe", "film biru", "video panas", "bercinta", "bispak", "open BO", "klitoris", "puting", "ejakulasi", "bokong", "hot", "hentai", "lesbi", "gay", "homo", "biseksual", "seks bebas", "one night stand", "cewek matre", "crot", "nyepong", "banci", "wikwik", "gancet", "mlumpat", "ngeseks", "tolol", "bajingan", "gembel", "setan", "siluman", "iblis", "kafir", "kurangajar", "binatang", "dungu", "edan", "jahanam", "neraka", "sinting", "bengis", "budek", "copet", "cabul", "gampangan", "gendeng", "gundik", "jadah", "kurap", "lacur", "laknat", "lempung", "lumpuh", "makhluk", "mampus", "miskin", "nista", "pajero", "pelet", "pengemis", "penipu", "perawan", "perih", "perusuh", "pesek", "phobia", "preman", "rengsek", "sesat", "sial", "sinis", "sipit", "sombong", "srigala", "susah", "syaitan", "tabiat", "tengik", "tuli", "wabah", "waria", "wasiat", "zalim", "zombie", "kampungan", "telmi", "telek", "bejat", "babangus", "bacol", "bacot", "bagong", "balegug", "bangke", "bedebah", "bedegong", "belegug", "beloon", "bencong", "bloon", "blo'on", "bodoh", "boloho", "buduk", "budug", "celeng", "cibai", "cibay", "cocot", "cocote", "cok", "cokil", "colai", "colay", "coli", "colmek", "conge", "congean", "congek", "congor", "cuk", "cukima", "cukimai", "cukimay", "dancok", "entot", "entotan", "ewean", "gelo", "genjik", "germo", "gigolo", "goblo", "goblog", "hencet", "henceut", "heunceut", "idiot", "itil", "bjir", "kntl", "bbi", "45u", "a5u", "ngaceng", "yteam", "jancok", "jablay", "jalang", "jiancok", "jilmek", "jurig", "kacung", "kampang", "kehed", "kenthu", "kentot", "kentu", "kimak", "kintil", "kirik", "kunyuk", "konti", "kopet", "koplok", "lebok", "maho", "meki", "ndas", "ndasmu", "ngehe", "nggateli", "pante", "patek", "pathek", "peju", "pejuh", "pecun", "pelakor", "peler", "puki", "pukima", "pukimae", "pukimak", "pukimay", "sampah", "sepong", "silit", "sontoloyo", "taik", "tempek", "tempik", "tete", "tetek", "tiembokne", "titit", "toket", "ublag", "udik", "wingkeng", "asw", "jnck", "jawir", "yatim", "vcs", "mmk", "ahh", "tepos", "tobrut", "ngntd", "bct", "njir", "bapak", "matamu", "mati", "ajg", "bgst", "perek", "pentil", "kancut", "mbakne", "pussy", "dick", "tits", "boobs", "cum", "asshole", "bastard", "bitch", "whore", "slut", "dildo", "cock", "fucker", "motherfucker", "prick", "twat", "wanker", "tosser", "bugger", "shag", "screw", "clit", "scrote", "piss", "turd", "queef", "balls", "butt", "arse", "bloody", "bollocks", "bint", "cunt", "fuck", "shit", "damn", "hell", "douche", "knob", "git", "minger", "minge", "chav", "smeg", "arsehole", "bellend", "prat", "numpty", "berk", "muppet", "nobhead", "knobhead", "knobend", "twit", "nonce", "tosspot", "scrubber", "slapper", "munter", "nutter", "wazzock", "pikey", "scally", "twonk", "sket", "sod", "shithead", "fanny", "sodding", "pussylicker", "cumslut", "dicksucker", "cocksucker", "dickhead", "cockhead", "fucktard", "fuckwit", "pisshead", "wankstain", "shitstain", "fuckboy", "fuckgirl", "cumdumpster", "cumrag", "pissrag", "wankrag", "dickface", "cockface", "pisspot", "dickhole", "cockhole", "fuckhole", "cumhole", "cumguzzler", "asslicker", "buttfucker", "assfucker", "shitfucker", "pissfucker", "dickfucker", "cockfucker", "clitfucker", "titsucker", "boobsucker", "cumface", "pissface", "shitface", "fuckface", "cumcock", "pisscock", "shitcock", "dickcock", "cockcock", "clitcock", "titcock", "boobcock", "cumclit", "pissclit", "shitclit", "dickclit", "cockclit", "clitclit", "titclit", "anj", "bgo", "bdh", "memk", "pcncg", "mncr", "blg", "krgajar", "mntl", "baj", "kmpret", "plr", "psk", "gblk", "dng", "sktn", "kprat", "cpat", "srng", "jahanm", "gkwaras", "plcur", "jlncok", "sytn", "kcrng", "sgala", "kplr", "mntk", "trklnt", "pecndg", "hlngr", "mnyt", "srem", "setn", "tlol", "dmpt", "kntt", "kptek", "ndeso", "bajng", "brngsk", "pntk", "blndh", "anjg", "bgng", "gmblk", "pykn", "jmbt", "bjin", "gmbel", "cleng", "konyol", "tdk", "bluk", "smpr", "brngs", "sggk", "scro", "skil", "jnk", "mrk", "sbar", "gbs", "smpt", "cmh", "ngk", "ngmuk", "brng", "jktk", "cdg", "jbl", "mrp", "bns", "bkan", "kyj", "prn", "mnky", "jht", "knst", "krn", "blt", "dsr", "kpr", "smr", "sltn", "pornoaksi", "sex", "seks", "pantat", "lesbian", "boobclit", "cumtit", "pisstit", "shittit", "dicktit", "cocktit", "clittit", "tittit", "boobtit", "cumbutt", "pissbutt", "shitbutt", "dickbutt", "cockbutt", "clitbutt", "titbutt", "boobbutt", "cumass", "pissass", "shitass", "dickass", "cockass", "clitass", "titass", "boobass", "cuntfuck", "cuntlick", "cuntdick", "cuntcock", "cuntclit", "cunttit", "cuntboob", "cuntcum", "cuntpiss", "cuntshit", "cuntass", "fuckcunt", "pisscunt", "shitcunt", "dickcunt", "cockcunt", "clitcunt", "titcunt", "boobcunt", "asscunt", "wankcunt", "cumwank", "pisswank", "goddamn", "fag", "jizz", "blowjob", "orgasm", "masturbation", "nude", "porn", "sexy", "bi", "bisexual", "open relationship", "threesome", "sex toys", "fetish", "kink", "stripper", "escort", "prostitute", "hooker", "adult", "erotic", "sexting", "camgirl", "camboy", "dominatrix", "bdsm", "roleplay", "cuckold", "swinger", "dirty talk", "orgy", "gangbang", "pubic hair", "pimp", "whipping", "spanking", "peep show", "sex worker", "cunnilingus", "fellatio", "squirting", "wet dreams", "kinky", "pornographic"]; function sensor(text, customForbiddenWords = []) { const forbiddenWordsSet = new Set([...dataBadword, ...customForbiddenWords]); const regex = new RegExp([...forbiddenWordsSet].map(word => `\\b${word}\\b`).join("|"), "gi"); return text.replace(regex, matched => "*".repeat(matched.length)); } function cekBadword(text, customForbiddenWords = []) { const forbiddenWordsSet = new Set([...dataBadword, ...customForbiddenWords]); const regex = new RegExp([...forbiddenWordsSet].map(word => `\\b${word}\\b`).join("|"), "gi"); return regex.test(text); } const ZbadWord = { sensor, cekBadword }; export default ZbadWord;