fix(web-clipper): script imports

This commit is contained in:
Elian Doran 2026-01-24 10:08:29 +02:00
parent cb8b968637
commit ab95f6dcc2
No known key found for this signature in database
3 changed files with 11 additions and 9 deletions

View File

@ -54,9 +54,9 @@
<p>Note that the entered password is not stored anywhere, it will be only used to retrieve an authorization token from the server instance which will be then used to send the clipped notes.</p>
</form>
<script src="../lib/cash.min.js"></script>
<script src="../lib/browser-polyfill.js"></script>
<script src="options.js"></script>
<script type="module" src="../../lib/cash.min.js"></script>
<script type="module" src="../../lib/browser-polyfill.js"></script>
<script type="module" src="index.js"></script>
</body>

View File

@ -46,11 +46,11 @@
<div>Status: <span id="connection-status">unknown</span></div>
</div>
<script src="../lib/browser-polyfill.js"></script>
<script src="../lib/cash.min.js"></script>
<script src="popup.js"></script>
<script src="../utils.js"></script>
<script src="../content.js"></script>
<script type="module" src="../../lib/browser-polyfill.js"></script>
<script type="module" src="../../lib/cash.min.js"></script>
<script type="module" src="popup.js"></script>
<script type="module" src="../../utils.js"></script>
<script type="module" src="../../content.js"></script>
</body>
</html>

View File

@ -1,3 +1,5 @@
console.log("Popup script loaded");
async function sendMessage(message) {
try {
return await browser.runtime.sendMessage(message);
@ -164,7 +166,7 @@ browser.runtime.onMessage.addListener(request => {
}else{
$alreadyVisited.html('');
}
}
});