mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
f386e4ce4b
When you load an extension `.zip` file in Firefox, it fails to load scripts with the `.cjs` file extension. However, it works if you load the extension via the `manifest.json` file instead. After renaming the `lockdown.cjs` file to `lockdown.js`, it works in Firefox in all cases, regardless whether it's loaded by manifest or by `.zip`.
21 lines
933 B
HTML
21 lines
933 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.js" 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>
|