showUpdates = true} title={"Show updates"} {disabled} />
{#if !active} {/if} {#if showInstallPrompt}
Userscript {#if scriptChecking} {showInstallPrompt} {:else} {scriptInstalled ? "Installed" : "Detected"}: {showInstallPrompt} {/if}
{/if} {#if errorNotification}
{errorNotification} errorNotification = undefined} title={"Clear error"} />
{/if}
{#if loading} {:else} {#if inactive}
Popup inactive on extension page
{:else if initError}
Something went wrong:  window.location.reload()} > click to retry
{:else if items.length < 1}
No matched userscripts
{:else}
{#each list as item, i (item.filename)} toggleItem(item)} /> {/each}
{/if} {/if}
{#if !inactive && platform === "macos"} {/if} {#if showUpdates} showUpdates = false} showLoaderOnDisabled={true} abortClick={abortUpdates} abort={showUpdates} > {:else if showInstall} showInstall = false} showLoaderOnDisabled={true} > showInstall = false} installConfirmClick={installConfirm} /> {:else if showAll} { showAll = false; refreshView(); }} showLoaderOnDisabled={false} > {/if}