5bf805755a
* Move "yomichan" object setup to a separate file * Update script imports * Align message handlers * Rename Yomichan.prepare to Yomichan.ready * Add new prepare function * Improve isExtensionUrl
62 lines
2.6 KiB
HTML
62 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
<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">
|
|
<link rel="stylesheet" type="text/css" href="/bg/css/context.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="mini">
|
|
<label class="toggle">
|
|
<input type="checkbox" id="enable-search">
|
|
<div class="toggle-group">
|
|
<span class="toggle-on">On</span>
|
|
<span class="btnx btn-defaulxt toggle-off">Off</span>
|
|
<span class="btnx xbtn-default toggle-handle"></span>
|
|
</div>
|
|
</label>
|
|
<div class="nav-button-container">
|
|
<a class="nav-button action-open-search" data-icon="magnifying-glass" title="Search (Alt + Insert) (Middle click to open in new tab)"></a>
|
|
<a class="nav-button action-open-options" data-icon="cog" title="Options (Middle click to open in new tab)"></a>
|
|
<a class="nav-button action-open-help" data-icon="question-mark" title="Help"></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="full">
|
|
<h3 id="extension-info">Yomichan</h3>
|
|
<label class="link-group">
|
|
<span class="link-group-icon"><input type="checkbox" id="enable-search2" /></span><span class="link-group-label">Enable content scanning</span>
|
|
</label>
|
|
<a class="link-group action-open-options">
|
|
<span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Options</span>
|
|
</a>
|
|
<a class="link-group action-open-search">
|
|
<span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Search</span>
|
|
</a>
|
|
<a class="link-group action-open-help">
|
|
<span class="link-group-icon" data-icon="chevron"></span><span class="link-group-label">Help</span>
|
|
</a>
|
|
</div>
|
|
|
|
<script src="/mixed/js/core.js"></script>
|
|
<script src="/mixed/js/yomichan.js"></script>
|
|
<script src="/mixed/js/comm.js"></script>
|
|
<script src="/mixed/js/dom.js"></script>
|
|
<script src="/mixed/js/api.js"></script>
|
|
|
|
<script src="/bg/js/options.js"></script>
|
|
<script src="/bg/js/util.js"></script>
|
|
|
|
<script src="/bg/js/context-main.js"></script>
|
|
|
|
</body>
|
|
</html>
|