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