This commit is contained in:
Mirco Wittrien 2021-04-01 19:56:24 +02:00
parent 4834041769
commit 550688e5dd
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<html class="theme-dark platform-win">
<head>
<style>@font-face {font-family: Whitney;font-weight: 300;src: url(https://mwittrien.github.io/_res/fonts/Whitney300.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 400;src: url(https://mwittrien.github.io/_res/fonts/Whitney400.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 500;src: url(https://mwittrien.github.io/_res/fonts/Whitney500.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 600;src: url(https://mwittrien.github.io/_res/fonts/Whitney600.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 700;src: url(https://mwittrien.github.io/_res/fonts/Whitney700.woff) format("woff");}</style>
<style>.iframe-mode, .iframe-mode > *, .iframe-mode > * > *, .iframe-mode > * *, .iframe-mode * {-webkit-app-region: no-drag !important;}@font-face {font-family: Whitney;font-weight: 300;src: url(https://mwittrien.github.io/_res/fonts/Whitney300.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 400;src: url(https://mwittrien.github.io/_res/fonts/Whitney400.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 500;src: url(https://mwittrien.github.io/_res/fonts/Whitney500.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 600;src: url(https://mwittrien.github.io/_res/fonts/Whitney600.woff) format("woff");}@font-face {font-family: Whitney;font-weight: 700;src: url(https://mwittrien.github.io/_res/fonts/Whitney700.woff) format("woff");}</style>
<script type="text/javascript" src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script type="text/javascript" src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script type="text/javascript" src="https://mwittrien.github.io/BetterDiscordAddons/Plugins/_res/DiscordPreview.js"></script>

View File

@ -71,6 +71,7 @@
}
if (data.html || data.htmlClassName) document.documentElement.className = data.html || data.htmlClassName;
if (window.parent && typeof window.parent.postMessage == "function") document.documentElement.classList.add("iframe-mode");
document.documentElement.classList.add("mouse-mode");
document.documentElement.classList.add("full-motion");