* Create ClipboardReader class * Use ClipboardReader in Backend * Update ClipboardMonitor to use ClipboardReader * Replace _onApiClipboardImageGet call * Assign clipboard reader browser
58 lines
2.7 KiB
HTML
58 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
<title>Background</title>
|
|
<link rel="icon" type="image/png" href="/mixed/img/icon16.png" sizes="16x16">
|
|
<link rel="icon" type="image/png" href="/mixed/img/icon19.png" sizes="19x19">
|
|
<link rel="icon" type="image/png" href="/mixed/img/icon32.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="/mixed/img/icon38.png" sizes="38x38">
|
|
<link rel="icon" type="image/png" href="/mixed/img/icon48.png" sizes="48x48">
|
|
<link rel="icon" type="image/png" href="/mixed/img/icon64.png" sizes="64x64">
|
|
<link rel="icon" type="image/png" href="/mixed/img/icon128.png" sizes="128x128">
|
|
</head>
|
|
<body>
|
|
<textarea id="clipboard-paste-target"></textarea>
|
|
|
|
<script src="/mixed/lib/wanakana.min.js"></script>
|
|
|
|
<script src="/mixed/js/core.js"></script>
|
|
<script src="/mixed/js/yomichan.js"></script>
|
|
<script src="/mixed/js/environment.js"></script>
|
|
<script src="/mixed/js/japanese.js"></script>
|
|
|
|
<script src="/mixed/js/audio-system.js"></script>
|
|
<script src="/mixed/js/cache-map.js"></script>
|
|
<script src="/mixed/js/dictionary-data-util.js"></script>
|
|
<script src="/mixed/js/object-property-accessor.js"></script>
|
|
|
|
<script src="/bg/js/anki.js"></script>
|
|
<script src="/bg/js/audio-uri-builder.js"></script>
|
|
<script src="/bg/js/clipboard-monitor.js"></script>
|
|
<script src="/bg/js/clipboard-reader.js"></script>
|
|
<script src="/bg/js/database.js"></script>
|
|
<script src="/bg/js/deinflector.js"></script>
|
|
<script src="/bg/js/dictionary-database.js"></script>
|
|
<script src="/bg/js/json-schema.js"></script>
|
|
<script src="/bg/js/mecab.js"></script>
|
|
<script src="/bg/js/options.js"></script>
|
|
<script src="/bg/js/profile-conditions.js"></script>
|
|
<script src="/bg/js/request-builder.js"></script>
|
|
<script src="/bg/js/simple-dom-parser.js"></script>
|
|
<script src="/bg/js/text-source-map.js"></script>
|
|
<script src="/bg/js/translator.js"></script>
|
|
|
|
<script src="/bg/js/backend.js"></script>
|
|
|
|
<script src="/bg/js/background-main.js"></script>
|
|
|
|
<!--
|
|
Due to a Firefox bug, this next element is purposefully terminated incorrectly.
|
|
This element must appear directly inside the <body> element, and it must not be closed properly.
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1603985
|
|
-->
|
|
<div id="clipboard-image-paste-target" contenteditable="true">
|
|
</body>
|
|
</html>
|