diff options
author | V <vendicated@riseup.net> | 2023-09-19 04:07:24 +0200 |
---|---|---|
committer | V <vendicated@riseup.net> | 2023-09-19 04:11:27 +0200 |
commit | 41f5d71e38f785786656e111cf2ea1200e45886d (patch) | |
tree | 564a0300485de18a0b8d396118f09c6f756105ed /browser/monacoWin.html | |
parent | efb88a4df8037fc1394a9e2053c49e75d340f401 (diff) | |
download | Vencord-41f5d71e38f785786656e111cf2ea1200e45886d.tar.gz Vencord-41f5d71e38f785786656e111cf2ea1200e45886d.tar.bz2 Vencord-41f5d71e38f785786656e111cf2ea1200e45886d.zip |
Bundle dependencies with extensions for webstore rule compliance (#1740)
Diffstat (limited to 'browser/monacoWin.html')
-rw-r--r-- | browser/monacoWin.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/browser/monacoWin.html b/browser/monacoWin.html new file mode 100644 index 0000000..a55b0e5 --- /dev/null +++ b/browser/monacoWin.html @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <title>Vencord QuickCSS Editor</title> + <style> + html, + body, + #container { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + margin: 0; + padding: 0; + overflow: hidden; + } + </style> + </head> + + <body> + <div id="container"></div> + + <script> + const script = document.createElement("script"); + script.src = new URL("/dist/monaco/index.js", baseUrl); + + const style = document.createElement("link"); + style.type = "text/css"; + style.rel = "stylesheet"; + style.href = new URL("/dist/monaco/index.css", baseUrl); + + document.body.append(style, script); + </script> + </body> +</html> |