- Userscript
- {#if scriptChecking}
- {showInstallPrompt}
- {:else}
- {scriptInstalled ? "Installed" : "Detected"}:
-
- {/if}
-
-{/if}
-{#if errorNotification}
-
- {#if loading}
-
- {:else}
- {#if inactive}
-
Popup inactive on extension page
- {:else if firstGuide}
-
-
Welcome, first use please:
-
-
to complete the initialization
-
- {:else if initError}
-
- Something went wrong:
-
-
- {: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}
-
+ {#if loading}
+
+ {:else if inactive}
+
Popup inactive on extension page
+ {:else if firstGuide}
+
+
Welcome, first use please:
+
+
to complete the initialization
+
+ {:else if initError}
+
+ Something went wrong:
+
+
+ {:else if items.length < 1}
+
No matched userscripts
+ {:else}
+
+ {#each list as item, i (item.filename)}
+
toggleItem(item)}
+ />
+ {/each}
+
+ {/if}
+
+ {#if !inactive && platform === "macos"}
+
+ {/if}
{/if}
diff --git a/src/ext/action-popup/Components/PopupItem.svelte b/src/ext/action-popup/Components/PopupItem.svelte
index 01e091de..0afba81c 100644
--- a/src/ext/action-popup/Components/PopupItem.svelte
+++ b/src/ext/action-popup/Components/PopupItem.svelte
@@ -1,97 +1,97 @@
- {#if installError}
-
- {@html iconError}
-
Couldn't install userscript
-
{installError}
-
- {:else if userscript}
-
- - {userscript.name}
- {#if userscript.description}
- - {userscript.description}
- {/if}
- {#if userscript.match}
- -
-
@match
- {#each userscript.match as match}
- {match}
- {/each}
-
- {/if}
- {#if userscript.include}
- -
-
@include
- {#each userscript.include as include}
- {include}
- {/each}
-
- {/if}
- {#if userscript.require}
- -
-
@require
- {#each userscript.require as require}
- {require}
- {/each}
-
- {/if}
- {#if userscript.grant}
- -
-
@grant
- {#each userscript.grant as grant}
- {grant}
- {/each}
-
- {/if}
-
-
-
{@html iconWarn}
-
Be sure you trust the author before installing. Nefarious code can exploit your security and privacy.
-
-
-
-
-
- {/if}
+ {#if installError}
+
+
+ {@html iconError}
+
Couldn't install userscript
+
{installError}
+
+ {:else if userscript}
+
+ - {userscript.name}
+ {#if userscript.description}
+ - {userscript.description}
+ {/if}
+ {#if userscript.match}
+ -
+
@match
+ {#each userscript.match as match (match)}
+ {match}
+ {/each}
+
+ {/if}
+ {#if userscript.include}
+ -
+
@include
+ {#each userscript.include as include (include)}
+ {include}
+ {/each}
+
+ {/if}
+ {#if userscript.require}
+ -
+
@require
+ {#each userscript.require as require (require)}
+ {require}
+ {/each}
+
+ {/if}
+ {#if userscript.grant}
+ -
+
@grant
+ {#each userscript.grant as grant (grant)}
+ {grant}
+ {/each}
+
+ {/if}
+
+
+
+
{@html iconWarn}
+
+ Be sure you trust the author before installing. Nefarious code can
+ exploit your security and privacy.
+
+
+
+
+
+
+ {/if}
diff --git a/src/ext/action-popup/Components/Views/UpdateView.svelte b/src/ext/action-popup/Components/Views/UpdateView.svelte
index fd121c84..6da55f46 100644
--- a/src/ext/action-popup/Components/Views/UpdateView.svelte
+++ b/src/ext/action-popup/Components/Views/UpdateView.svelte
@@ -1,88 +1,83 @@
{#if updates.length}
- {#each updates as item (item.name)}
-
- Be sure you trust the author before saving remote code to your device.
- Be sure you trust the author before saving remote code to your device.
+