mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
* new example: image-reference-collector (indexedDB file storage demo) * fix: added missing deps, updated all npm dependencies and webpack config to v.2 * chore: Renamed the example to store-collected-images * chore: Removed from utils/image-store any direct call to the UI code * move example built using webpack into its own subdir * tweak browser action title * added plain webextension example (without webpack build step) * added README.md file to plain webextension example * small changed based on the review comments * fixed typo in store-collected-images example (webpack-based version) * Remove React from the store-collected-images (plain webextension version) * Fix eslint errors on store-collected-images example (both versions) * Fix some typos in the README files
23 lines
649 B
HTML
Executable File
23 lines
649 B
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="stylesheet" href="popup.css"/>
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<h3>Collected images</h3>
|
|
<p id="error-message"></p>
|
|
<input placeholder="collection name" class="collection-name">
|
|
<button class="save-collection">save</button>
|
|
<ul class="thumbnails">
|
|
<ul>
|
|
</div>
|
|
<script src="/deps/idb-file-storage.js"></script>
|
|
<script src="/deps/uuidv4.js"></script>
|
|
<script src="/utils/handle-window-drag-and-drop.js"></script>
|
|
<script src="/utils/image-store.js"></script>
|
|
<script src="popup.js"></script>
|
|
</body>
|
|
</html>
|