# privacy

# Coverage

The collection module provides a masking function for pictures, video, and text content. For pictures and videos that need to be covered, the collection module replaces the original picture or video with a skeleton diagram and the text with an asterisk.

Developers can configure maskMode at setup time to select whitelist masking mode or blacklist masking mode as needed.

In whitelist mode, the SDK masks all elements by default, and developers can add the class "wxobs-unmask" to the element to unmask the element and its children. Such as

<view class="wxobs-unmask">
	...
</view>

In blacklist mode, all elements are not covered by default. For sensitive elements, developers can add a class "wxobs-mask" to the element to mask the element and its children. Such as

<view class="wxobs-mask">
	...
</view>

# Shield

In order to protect user privacy, the collection module blocks the following data:

  • All input events
  • open-data
  • Weixin Mini Program Plug-in content

In addition, we provide developers with ways to customize the shielding elements: Add the class "wxobs-exclude" to an element and the element will not be collected. For example:

<view class="wxobs-exclude">
	...
</view>