This extension is used to remove HTML elements loaded on a page. This is admin configurable to target elements by HTML query language.
Sample Extension JSON Policy for configuration:
User accounts will be able to create and resolve comments but will be prevented from editing and deleting when using the Chrome Browser with their managed profile.
https://www.w3schools.com/cssref/css_selectors.php
Example removing the ability to delete or edit comments in Google Workspace Editors:
{"config": {"Value": [{"url": "https://docs.google.com", "continual": true, "html": [".docos-edit-menuitem", ".docos-delete-menuitem"]}]}}
Example removing YouTube video previews in Google Workspace Editors when a user adds a link.
{"config": {"Value": [{"url": "https://docs.google.com", "continual": true, "html": [".docs-link-bubble-card"]}]}}
Example removing all elements on YouTube except the video.
{"config": {"Value": [{"url": "https://www.youtube.com/", "continual": true, "html": ["#voice-search-button", "yt-searchbox", "#related", "#logo", "#guide-button", "#sections", "#chips", "#top-row", "#middle-row", "#bottom-row", "ytd-mini-guide-renderer"]}]}}
https://github.com/googlechromelabs/htmlsnipper