From 9e2ce5628318da0f5aaf5c7725f216f09065b571 Mon Sep 17 00:00:00 2001 From: Libor Polčák Date: Mar 01 2021 15:22:50 +0000 Subject: docs: Add wrappers group The group will contain all the wrappers, possibly structured into subgroups --- diff --git a/common/wrapping.js b/common/wrapping.js index be6fa47..4f37428 100644 --- a/common/wrapping.js +++ b/common/wrapping.js @@ -20,6 +20,23 @@ // /** + * \defgroup wrappers The implemented wrappers + * + * \brief Wrappers are small pieces of code that modifies the original functionalty of a function, + * or property defined by standards. + * + * $(PROJECT_NAME) defines wrappers to modify the behaviour of the JavaScript environment. The + * purpose of the most of the wrappers can be divided into several categories: + * + * * Block APIs: some APIs are not generally needed and can be blocked for most of the pages. + * * Precision reduction: The returned value is too precise which might result into attacks on the + * browser or can be used to fingerprint users. + * * Hide information: Some APIs provide information that is not generally needed and can be hidden + * from most of the pages. + * * Provide fake information: We provide fake information mostly to confuse fingerprinters. + */ + +/** * The object carrying all the wrappers */ var build_wrapping_code = {};