Adjust usage details for missing Chromium functionality.

This commit is contained in:
Bauke 2022-03-20 19:59:00 +01:00
parent bdb06a1b15
commit 163f838ffc
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 9 additions and 2 deletions

View File

@ -31,6 +31,8 @@ export class PageMain extends Component<Props, State> {
};
render() {
const isFirefox = import.meta.env.VITE_BROWSER === 'firefox';
const queueItems = this.state.queue
.sort((a, b) => a.added.getTime() - b.added.getTime())
.map(
@ -71,7 +73,10 @@ export class PageMain extends Component<Props, State> {
<p>Adding links to your queue:</p>
<ul>
<li>Right-click any link or tab and click "Add to Queue".</li>
<li>
Right-click any link ${isFirefox ? 'or tab' : ''} and click "Add
to Queue".
</li>
</ul>
<p>Opening the next link from your queue:</p>
@ -85,7 +90,9 @@ export class PageMain extends Component<Props, State> {
<p>Opening the extension page:</p>
<ul>
<li>Double-click the extension icon.</li>
${isFirefox
? html`<li>Double-click the extension icon.</li>`
: undefined}
<li>
Right-click the extension icon and click "Open the extension
page".