mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
d13aabde23
On older browsers that don't support `globalThis`[1], the SES lockdown throws an error. The `globalthis` shim has been added to all pages, to the background process, and to the `contentscript`. This should prevent the error on older browsers. [1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#Browser_compatibility
21 lines
934 B
HTML
21 lines
934 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1 user-scalable=no">
|
|
<title>MetaMask</title>
|
|
<link rel="stylesheet" type="text/css" href="./index.css" title="ltr">
|
|
<link rel="stylesheet" type="text/css" href="./index-rtl.css" title="rtl" disabled>
|
|
</head>
|
|
<body>
|
|
<div id="app-content"></div>
|
|
<div id="popover-content"></div>
|
|
<script src="./globalthis.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./initSentry.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./lockdown.cjs" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./runLockdown.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./ui-libs.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="./ui.js" type="text/javascript" charset="utf-8"></script>
|
|
</body>
|
|
</html>
|