CLIENT-SIDE ONLINE GAMBLING DETECTION USING MULTI-LAYER CASCADE PATTERN MATCHING IN MANIFEST V3 CHROME EXTENSIONS
DOI:
https://doi.org/10.34288/jri.v8i3.549Keywords:
Online Gambling Detection, Chrome Extension, Multi-Layer Pattern Matching, Cascading Filtering Architecture, Client-Side Browser Security, Indonesian Gambling PatternsAbstract
Online gambling sites in Indonesia generated IDR 155.4 trillion in transactions in 2025 with 3.2 million active players, yet DNS filtering the dominant countermeasure blocks only 0.64% of observed gambling traffic. Network-layer approaches fail structurally: they cannot intercept content via VPN, DNS-over-HTTPS, or direct IP access, and they cannot detect the domain neutralization used by the majority of Indonesian gambling operators. This paper proposes GUPI (Gambling URL Pattern Interceptor), a Chrome Extension implementing a three-layer cascade detection architecture running entirely client-side under Manifest V3 without external server dependencies. Layer 1 applies weighted lexical scoring to URL features. Layer 2 applies DOM keyword pattern matching with conditional context suppression. Layer 3 applies CSS selector-based DOM structural heuristic scoring to detect gambling-characteristic page architectures when text-level signals are absent. GUPI was evaluated on 926 URLs (326 gambling, 600 benign) across three sequential configurations. The full system achieves 98.81% accuracy, 99.07% precision, 97.55% recall, 98.30% F1-score, and 0.50% false positive rate.
Downloads
References
Ahmad Zuhdi, Beny Aprius, H. W. (2025). MEMBERANTAS JUDI ONLINE ASN MELALUI KIE KELUARGA DAN TEKNOLOGI Ahmad. Jurnal Keluarga Berencana, 10(3), 22. DOI: https://doi.org/10.37306/tgepmb55
Barik, K., Misra, S., & Mohan, R. (2025). Web-based phishing URL detection model using deep learning optimization techniques. International Journal of Data Science and Analytics, 20(5), 4449–4471. https://doi.org/10.1007/s41060-025-00728-9 DOI: https://doi.org/10.1007/s41060-025-00728-9
Chalyi, O., Driaunys, K., & Rudžionis, V. (2025). Assessing Browser Security: A Detailed Study Based on CVE Metrics. Future Internet, 17(3). https://doi.org/10.3390/fi17030104 DOI: https://doi.org/10.3390/fi17030104
Chamid, A. A., Nindyasari, R., & Ghozali, M. I. (2025). Comparative Analysis of Machine Learning Algorithms for Predicting Patient Admission in Emergency Departments Using EHR Data. Jurnal RESTI, 9(2), 185–194. https://doi.org/10.29207/resti.v9i2.6188 DOI: https://doi.org/10.29207/resti.v9i2.6188
Chamid, A. A., & Widowa. (2024). Text data labeling process for semi-supervised learning modeling. 030011. https://doi.org/10.1063/5.0216320 DOI: https://doi.org/10.1063/5.0216320
Chamid, A. A., Widowati, & Kusumaningrum, R. (2023). Graph-Based Semi-Supervised Deep Learning for Indonesian Aspect-Based Sentiment Analysis. Big Data and Cognitive Computing, 7(1). https://doi.org/10.3390/bdcc7010005 DOI: https://doi.org/10.3390/bdcc7010005
Chamid, A. A., Widowati, & Kusumaningrum, R. (2024). Labeling Consistency Test of Multi-Label Data for Aspect and Sentiment Classification Using the Cohen Kappa Method. Ingenierie Des Systemes d’Information, 29(1), 161–167. https://doi.org/10.18280/isi.290118 DOI: https://doi.org/10.18280/isi.290118
Chen, Y., Zheng, R., Zhou, A., Liao, S., & Liu, L. (2020). Automatic detection of pornographic and gambling websites based on visual and textual content using a decision mechanism. Sensors (Switzerland), 20(14), 1–21. https://doi.org/10.3390/s20143989 DOI: https://doi.org/10.3390/s20143989
Cohen, A. (2025). Browser Security Posture Analysis: A Client-Side Security Assessment Framework. http://arxiv.org/abs/2505.08050
Dewi, S., & Islami, A. I. (2021). Implementasi Web Filtering Menggunakan Router Fortigate FG300D. INSANtek, 2(1), 22–27. https://doi.org/10.31294/instk.v2i1.424 DOI: https://doi.org/10.31294/instk.v2i1.424
Dutta, A. K. (2021). Detecting phishing websites using machine learning technique. In PLoS ONE (Vol. 16, Number 10 October). Public Library of Science. https://doi.org/10.1371/journal.pone.0258361 DOI: https://doi.org/10.1371/journal.pone.0258361
Fahrudin, A., Satispi, E., Subardhini, M., Andayani, R. H. R., Jayaputra, A., Yuniarti, L., Wijayanti, F., & Suryani, S. (2024). Online gambling addiction: Problems and solutions for policymakers and stakeholders in Indonesia. In Journal of Infrastructure, Policy and Development (Vol. 8, Number 11). EnPress Publisher, LLC. https://doi.org/10.24294/jipd.v8i11.9077 DOI: https://doi.org/10.24294/jipd.v8i11.9077
Hanif Abdul Karim Afandi, M. Lazaro Fa. Al-Dzaki, Nurul Qomariasih, & Reza Aulia Wildana. (2025). GuardSurfing : Ekstensi Browser sebagai Alat Bantu Deteksi Website Phishing dengan Metode Klasifikasi XGBoost untuk Deteksi URL Phishing Berbasis Flask Framework. Info Kripto, 19(2), 73–85. https://doi.org/10.56706/ik.v19i2.124 DOI: https://doi.org/10.56706/ik.v19i2.124
Haq, Q. E. ul, Faheem, M. H., & Ahmad, I. (2024). Detecting Phishing URLs Based on a Deep Learning Approach to Prevent Cyber-Attacks. Applied Sciences (Switzerland), 14(22). https://doi.org/10.3390/app142210086 DOI: https://doi.org/10.3390/app142210086
Hikmah Adwin Adam, Rikky Rifaldo Simanungkalit, Shaquil Fathza Nasution, & Ikhsan Hafid Diansyah. (2024). JITE (Journal of Informatics and Telecommunication Engineering) Machine Learning-Driven Detection of Malicious URL: Comparative Analysis of Random Forest and SVMs. https://doi.org/10.31289/jite.v8i1.11844
Inayah, K., & Ramli, K. (2024). Analisis Kinerja Intrusion Detection System Berbasis Algoritma Random Forest Menggunakan Dataset Unbalanced Honeynet BSSN. Jurnal Teknologi Informasi Dan Ilmu Komputer, 11(4), 867–876. https://doi.org/10.25126/jtiik.1148911 DOI: https://doi.org/10.25126/jtiik.1148911
Jazuli, A., Widowati, Chamid, A. A., & Kusumaningrum, R. (2025). Transformer-based semantic indexing for aspect-based sentiment analysis using an enhanced index generation algorithm with BERT. International Journal of Advanced Technology and Engineering Exploration, 12(127), 907–926. https://doi.org/10.19101/IJATEE.2024.111102114 DOI: https://doi.org/10.19101/IJATEE.2024.111102114
Jazuli, A., Widowati, & Kusumaningrum, R. (2025). Optimizing Aspect-Based Sentiment Analysis Using BERT for Comprehensive Analysis of Indonesian Student Feedback. Applied Sciences (Switzerland), 15(1), 1–28. https://doi.org/10.3390/app15010172 DOI: https://doi.org/10.3390/app15010172
Kamdan, K., Anugrah, M. P., Almutaali, M. J., Ramdani, R., & Kharisma, I. L. (2025). Performance Analysis of IndoBERT for Detection of Online Gambling Promotion in YouTube Comments †. Engineering Proceedings, 107(1). https://doi.org/10.3390/engproc2025107066 DOI: https://doi.org/10.3390/engproc2025107066
Kumi, S., Lim, C., & Lee, S. G. (2021). Malicious url detection based on associative classification. Entropy, 23(2), 1–12. https://doi.org/10.3390/e23020182 DOI: https://doi.org/10.3390/e23020182
Li, S., & Dib, O. (2024). Enhancing Online Security: A Novel Machine Learning Framework for Robust Detection of Known and Unknown Malicious URLs. Journal of Theoretical and Applied Electronic Commerce Research , 19(4), 2919–2960. https://doi.org/10.3390/jtaer19040141 DOI: https://doi.org/10.3390/jtaer19040141
Mulyana, D. I., Ardiyansyah, F., Hidayat, N., & Zulfikar, A. (2024). Optimasi Keamanan Jaringan Wifi dari Situs Judi Online dan Pornografi dengan DNS Filtering dan Orangepi. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 4(2), 647–655. https://doi.org/10.57152/malcom.v4i2.1274 DOI: https://doi.org/10.57152/malcom.v4i2.1274
Polčák, L., Maone, G., McMahon, M., & Bednář, M. (2025). Developers’ Insight on Manifest v3 Privacy and Security Webextensions. International Conference on Web Information Systems and Technologies, WEBIST - Proceedings, 15–26. https://doi.org/10.5220/0013669000003985 DOI: https://doi.org/10.5220/0013669000003985
Prihantono, Y., & Ramli, K. (2022). Model-Based Feature Selection for Developing Network Attack Detection and Alerting System. Jurnal RESTI, 6(2), 322–329. https://doi.org/10.29207/resti.v6i2.3989 DOI: https://doi.org/10.29207/resti.v6i2.3989
Raharja, Y. (2024). JIP (Jurnal Informatika Polinema) Implementasi Metode Osint Untuk Mengidentifikasi Serangan Judi Online Pada Website. JIP (Jurnal Informatika Polinema), 10(3), 359–364. DOI: https://doi.org/10.33795/jip.v10i3.4847
Sajid, M., Malik, K. R., Almogren, A., Malik, T. S., Khan, A. H., Tanveer, J., & Rehman, A. U. (2024). Enhancing intrusion detection: a hybrid machine and deep learning approach. Journal of Cloud Computing, 13(1). https://doi.org/10.1186/s13677-024-00685-x DOI: https://doi.org/10.1186/s13677-024-00685-x
Syafri Samsudin, Ahmad Abdul Chamid, & Ahmad Jazuli. (2025). Comparative Machine Learning Algorithms for Youtube Sentiment Analysis on Dpr Demonstration 2025 Using Lexicon. Jurnal Riset Informatika, 8(1), 74–85. https://doi.org/10.34288/jri.v8i1.470 DOI: https://doi.org/10.34288/jri.v8i1.470
Tang, L., & Mahmoud, Q. H. (2021). A Survey of Machine Learning-Based Solutions for Phishing Website Detection. Machine Learning and Knowledge Extraction, 3(3), 672–694. https://doi.org/10.3390/make3030034 DOI: https://doi.org/10.3390/make3030034
Türk, F., & Kılıçaslan, M. (2025). Malicious URL Detection with Advanced Machine Learning and Optimization-Supported Deep Learning Models. Applied Sciences (Switzerland), 15(18). https://doi.org/10.3390/app151810090 DOI: https://doi.org/10.3390/app151810090
Wang, Y., Xue, S., & Song, J. (2022). A Malicious Webpage Detection Method Based on Graph Convolutional Network. Mathematics, 10(19). https://doi.org/10.3390/math10193496 DOI: https://doi.org/10.3390/math10193496
Wen, L., Zhang, M., Wang, C., Guo, B., Ma, H., Xue, P., Ding, W., & Zheng, J. (2024). MEDAL: A Multimodality-Based Effective Data Augmentation Framework for Illegal Website Identification. Electronics (Switzerland), 13(11). https://doi.org/10.3390/electronics13112199 DOI: https://doi.org/10.3390/electronics13112199
Wu, T., Xi, Y., Wang, M., & Zhao, Z. (2022). Classification of Malicious URLs by CNN Model Based on Genetic Algorithm. Applied Sciences (Switzerland), 12(23). https://doi.org/10.3390/app122312030 DOI: https://doi.org/10.3390/app122312030
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Wingga Aria Sasra, Ahmad Abdul Chamid, Ahmad Jazuli

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
The Jurnal Riset Informatika has legal rules for accessing digital electronic articles uunder a Creative Commons Attribution-NonCommercial 4.0 International License . Articles published in Jurnal Riset Informatika, provide Open Access, for the purpose of scientific development, research, and libraries.










