DARK PATTERN FINDER FOR CONSUMER PROTECTION WEB EXTENSION
Abstract
The rapid growth of e-commerce platforms and web-based services has increased the use of user interface techniques designed to influence online decision-making. Among these techniques, dark patterns are deceptive or manipulative design practices that can mislead users, encourage unintended actions, or make it difficult to understand and control their choices. Identifying such patterns manually across different websites is time-consuming and requires considerable awareness of deceptive interface designs. To address this challenge, this project titled “Dark Pattern Finder” presents an intelligent browser-based system that automatically detects and identifies potential dark patterns present in web pages.The proposed system utilizes Artificial Intelligence and machine learning techniques to analyze webpage content and identify suspicious interface patterns. A browser extension collects relevant webpage information, including DOM elements, visible text, user interactions, and other behavioral evidence. The collected information is processed by a backend detection system developed using Python and FastAPI. A machine learning-based classification model analyzes the extracted content and categorizes potential dark patterns such as scarcity and urgency, deceptive messages, forced actions, and other manipulative interface practices. The system also provides confidence scores and supporting evidence to improve the transparency and interpretability of the detection results.To enhance the reliability of detection, the proposed system integrates multiple analysis approaches, including DOM-based analysis, behavioral observation, and state-change information. The detected patterns are presented directly through the browser extension using visual overlays and user-friendly notifications, enabling users to understand potentially manipulative elements while browsing. The system can also associate detected patterns with relevant legal and regulatory information to provide additional awareness regarding potentially deceptive practices.
References
. Mathur, A.; Acar, G.; Friedman, M. J.; Lucherini, E.; Mayer, J.; Chetty, M.; Narayanan, A. (2019). Dark Patterns at Scale: Findings from a Crawl of 11K Shopping Websites. Proceedings of the ACM on Human-Computer Interaction, Vol. 3(CSCW), pp. 1–32.
. Gray, C. M.; Kou, Y.; Battles, B.; Hoggatt, J.; Toombs, A. (2018). The Dark (Patterns) Side of UX Design. Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems, pp. 1–14.
. Brignull, H. (2010). Dark Patterns: Deception vs. Honesty in UI Design. Dark Patterns Research and Design Resource.
. Luguri, J.; Strahilevitz, L. J. (2021). Shining a Light on Dark Patterns. Journal of Legal Analysis, Vol. 13, pp. 43–109.
. Di Geronimo, L.; Braz, L.; Fregnan, E.; Palomba, F.; Bacchelli, A. (2020). UI Dark Patterns and Where to Find Them: A Human Evaluation. Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems, pp. 1–14.
. Nouwens, M.; Liccardi, I.; Veale, M.; Karger, D.; Kagal, L. (2020). Dark Patterns after the GDPR: Scraping Consent Pop-ups and Demonstrating Their Influence. Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems, pp. 1–13.
. Gray, C. M.; Chivukula, S. S.; Lee, A. (2021). End User Perspectives on Dark Patterns and Deceptive Design. Proceedings of the ACM on Human-Computer Interaction.
. European Commission (2022). Behavioural Study on Unfair Commercial Practices in the Digital Environment: Dark Patterns and Manipulative Personalisation. European Commission, Brussels.
. Federal Trade Commission (2022). Bringing Dark Patterns to Light: An FTC Workshop. Federal Trade Commission, Washington, D.C.
. W3C (2024). Document Object Model (DOM) Standard. World Wide Web Consortium.
Refbacks
- There are currently no refbacks.