mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-16 04:50:01 -04:00
Feat: Omnibox
But now it isn't fucked!
This commit is contained in:
parent
9a2306a9a8
commit
c8a07a5777
4 changed files with 9 additions and 6 deletions
|
@ -19,7 +19,8 @@
|
|||
"@fastify/static": "^7.0.4",
|
||||
"@iconify-json/ph": "^1.2.0",
|
||||
"@mercuryworkshop/bare-mux": "1.1.1",
|
||||
"@mercuryworkshop/epoxy-tls": "2.1.4-1",
|
||||
"@mercuryworkshop/epoxy-tls-new": "npm:@mercuryworkshop/epoxy-tls@^2.1.4-1",
|
||||
"@mercuryworkshop/epoxy-tls": "2.0.0-3",
|
||||
"@mercuryworkshop/epoxy-transport": "2.0.1",
|
||||
"@titaniumnetwork-dev/ultraviolet": "3.1.2",
|
||||
"astro": "^4.15.9",
|
||||
|
|
7
pnpm-lock.yaml
generated
7
pnpm-lock.yaml
generated
|
@ -33,8 +33,11 @@ importers:
|
|||
specifier: 1.1.1
|
||||
version: 1.1.1
|
||||
'@mercuryworkshop/epoxy-tls':
|
||||
specifier: 2.1.4-1
|
||||
version: 2.1.4-1
|
||||
specifier: 2.0.0-3
|
||||
version: 2.0.0-3
|
||||
'@mercuryworkshop/epoxy-tls-new':
|
||||
specifier: npm:@mercuryworkshop/epoxy-tls@^2.1.4-1
|
||||
version: '@mercuryworkshop/epoxy-tls@2.1.4-1'
|
||||
'@mercuryworkshop/epoxy-transport':
|
||||
specifier: 2.0.1
|
||||
version: 2.0.1(bufferutil@4.0.8)(typescript@5.6.2)(utf-8-validate@6.0.4)
|
||||
|
|
|
@ -43,11 +43,10 @@ const t = useTranslations(lang);
|
|||
<script>
|
||||
import { initSw, wispUrl } from "@utils/registerSW.ts"; //../../utils/registerSW.ts
|
||||
import { search } from "@utils/search.ts"; //../../utils/search.ts
|
||||
import initEpoxy, { EpoxyClient, EpoxyClientOptions } from "@mercuryworkshop/epoxy-tls";
|
||||
import initEpoxy, { EpoxyClient, EpoxyClientOptions } from "@mercuryworkshop/epoxy-tls-new";
|
||||
type Suggestion = {
|
||||
phrase: string
|
||||
}
|
||||
await initEpoxy();
|
||||
function proxy(term: string) {
|
||||
return __uv$config!.prefix + __uv$config.encodeUrl!(search(term, "https://www.google.com/search?q=%s"));
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ export const prerender = true;
|
|||
{name: 'Google', value: 'google', disabled: false },
|
||||
{ name: 'Wikipedia', value: 'wikipedia', disabled: false}
|
||||
] }}>
|
||||
</SettingsCard
|
||||
</SettingsCard>
|
||||
<SettingsCard
|
||||
title="A:B & Blob"
|
||||
description="Choose to open your tab in about:blank or blob"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue