mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +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
1003 B
HTML
21 lines
1003 B
HTML
<!doctype html>
|
|
<html style="width:357px; height:600px;">
|
|
<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 style="width:357px; height:600px;">
|
|
<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>
|