mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 23:00:54 +00:00
4.20.20
* Changed: Show the verified badge on rich chat embeds for Twitch partner channels. * API Added: More flexible support for tokens when building chat embeds. * API Added: Experiment for using the API to look-up links, rather than the socket cluster.
This commit is contained in:
parent
a4fa1d1491
commit
05e8428a4a
7 changed files with 96 additions and 12 deletions
|
@ -18,6 +18,15 @@ export const LV_SERVER = 'https://cbenni.com/api';
|
|||
export const LV_SOCKET_SERVER = 'wss://cbenni.com/socket.io/';
|
||||
|
||||
|
||||
export const ALLOWED_TAGS = [
|
||||
'strong', 'em', 'i', 'b', 'time', 'br', 'hr', 'div', 'span', 'img', 'figure', 'p', 'a', 'video', 'audio', 'blockquote', 'heading', 'section', 'nav', 'footer', 'aside', 'article', 'source', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'
|
||||
];
|
||||
|
||||
export const ALLOWED_ATTRIBUTES = [
|
||||
'datetime', 'src', 'href', 'style', 'alt', 'title', 'height', 'width', 'srcset', 'autoplay', 'volume', 'muted', 'loop', 'poster', 'type'
|
||||
];
|
||||
|
||||
|
||||
export const KEYS = {
|
||||
Enter: 13,
|
||||
Escape: 27,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue