Right-click the text of a Zhihu answer or article to store the title, author, body, and photos as one web-clip note.
66 lines
4.7 KiB
HTML
66 lines
4.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title data-i18n="optionsTitle">EdgeEver Web Clipper settings</title>
|
|
</head>
|
|
<body>
|
|
<main class="options-shell">
|
|
<h1 data-i18n="extensionName">EdgeEver Web Clipper</h1>
|
|
<p class="hint" data-i18n="imageSaveHint">Right-click an image on a webpage and choose “Save image to EdgeEver”. It is saved into the default notebook selected below.</p>
|
|
<p class="hint" data-i18n="selectionSaveHint">Select text on a page, right-click, and choose “Save selection to EdgeEver”. It is saved as a new note in the default notebook selected below.</p>
|
|
<p class="hint" data-i18n="tweetSaveHint">On X, right-click a post and choose “Save this post to EdgeEver”. The visible text and photos go into one new note in the same notebook.</p>
|
|
<p class="hint" data-i18n="githubRepoSaveHint">On a GitHub repository page or code tree, right-click the page background, the description, or the README text and choose “Save this repository to EdgeEver”. The address and description are saved as a new note in the default notebook selected above.</p>
|
|
<p class="hint" data-i18n="xhsSaveHint">On Xiaohongshu, right-click the note text and choose “Save this Xiaohongshu note to EdgeEver”. The title, text, and photos go into one new note. Comments are left out.</p>
|
|
<p class="hint" data-i18n="zhihuSaveHint">On Zhihu, right-click the answer or article text and choose “Save this Zhihu answer or article to EdgeEver”. The title, author, text, and photos go into one new note. Comments are left out.</p>
|
|
<form id="settings-form">
|
|
<label>
|
|
<span data-i18n="instanceAddress">EdgeEver instance URL</span>
|
|
<input id="instance-url" type="url" placeholder="https://notes.example.com" required />
|
|
</label>
|
|
<label>
|
|
API Token
|
|
<input id="token" type="password" placeholder="Create one in EdgeEver settings" data-i18n-placeholder="tokenPlaceholder" required />
|
|
</label>
|
|
<label>
|
|
<span data-i18n="defaultNotebook">Default notebook</span>
|
|
<select id="notebook-id">
|
|
<option value="" data-i18n="autoFirstNotebook">Use the first notebook automatically after connecting</option>
|
|
</select>
|
|
</label>
|
|
<div class="actions">
|
|
<button id="test" type="button" class="secondary" data-i18n="testConnection">Test connection</button>
|
|
<button id="save" type="submit" data-i18n="saveSettings">Save settings</button>
|
|
</div>
|
|
<p id="status" class="status" role="status"></p>
|
|
</form>
|
|
<section class="diagnostics-panel" aria-labelledby="diagnostics-title">
|
|
<h2 id="diagnostics-title" data-i18n="diagnosticsTitle">About & diagnostics</h2>
|
|
<p class="hint" data-i18n="diagnosticsDescription">View basic extension, browser, system, and connection information. API tokens are never included.</p>
|
|
<dl class="diagnostics-list">
|
|
<div><dt data-i18n="extensionVersion">Extension version</dt><dd id="extension-version">—</dd></div>
|
|
<div><dt data-i18n="manifestVersion">Manifest version</dt><dd id="manifest-version">—</dd></div>
|
|
<div><dt data-i18n="browserVersion">Browser</dt><dd id="browser-version">—</dd></div>
|
|
<div><dt data-i18n="systemVersion">System</dt><dd id="system-version">—</dd></div>
|
|
<div><dt data-i18n="extensionId">Extension ID</dt><dd id="extension-id">—</dd></div>
|
|
<div><dt data-i18n="instanceOrigin">Instance origin</dt><dd id="instance-origin">—</dd></div>
|
|
<div><dt data-i18n="instancePermission">Instance permission</dt><dd id="instance-permission">—</dd></div>
|
|
</dl>
|
|
<div class="diagnostics-actions">
|
|
<button id="copy-diagnostics" type="button" class="secondary" data-i18n="copyDiagnostics">Copy diagnostics</button>
|
|
<span id="copy-status" class="status" role="status"></span>
|
|
</div>
|
|
</section>
|
|
<p class="about-links">
|
|
<a href="https://github.com/tianma-if/edgeever" target="_blank" rel="noopener noreferrer" data-i18n="projectAndSource">GitHub project & source</a>
|
|
<span aria-hidden="true">·</span>
|
|
<a href="https://github.com/tianma-if/edgeever/issues" target="_blank" rel="noopener noreferrer" data-i18n="reportIssue">Report an issue</a>
|
|
<span aria-hidden="true">·</span>
|
|
<a href="https://edgeever.org/privacy" target="_blank" rel="noopener noreferrer" data-i18n="privacyPolicy">Privacy policy</a>
|
|
</p>
|
|
</main>
|
|
<script type="module" src="/src/options.ts"></script>
|
|
</body>
|
|
</html>
|