Ver código fonte

docs: changelog

Sv443 8 meses atrás
pai
commit
fe4adf6acb
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      changelog.md

+ 1 - 0
changelog.md

@@ -67,6 +67,7 @@
     - BytmDialog now has the option `removeListenersOnDestroy` (true by default) to configure removing all event listeners when the dialog is destroyed
     - BytmDialog's private members and methods have been changed to protected for easier extension (when using TypeScript)
   - Added interface functions:
+    - `setInnerHtmlTrusted()` to set the innerHTML property of an element to a sanitized string using the [Trusted Types API](https://developer.mozilla.org/en-US/docs/Web/API/Trusted_Types_API) and the library [DOMPurify](https://github.com/cure53/DOMPurify)
     - `getAutoLikeData()` to return the current auto-like data (authenticated function)
     - `saveAutoLikeData()` to overwrite the auto-like data (authenticated function)
     - `fetchVideoVotes()` to fetch the approximate like and dislike count of a video from [Return Youtube Dislike](https://returnyoutubedislike.com/)