update
This commit is contained in:
@@ -37,21 +37,14 @@ input[type="date"] { w-28 text-[16px] bg-[#1b1b1b] rounded-md text-white hover:b
|
||||
|
||||
var HTML_CONTENT = """
|
||||
<head>
|
||||
<title>New tab</title>
|
||||
<script>
|
||||
local items = {"Hi","Hello","Salut","Bonjour","Hola","Ciao","Hallo","Hej","Hei","Ola","Privet","Zdravstvuyte","Konnichiwa","Ni hao","Annyeonghaseyo","Merhaba","Selam","Habari","Shalom","Namaste","Marhaba","Geia","Sawasdee","Selamat","Halo","Kumusta","Sawubona","Jambo","Aloha","Goddag","Tere","Moikka","Sveiki"}
|
||||
local h = gurt.select(".target")
|
||||
local res = items[math.random(#items)] .. "!"
|
||||
|
||||
h.text = res
|
||||
</script>
|
||||
<title>新标签页</title>
|
||||
</head>
|
||||
<body style="bg-[#323949] text-white font-sans">
|
||||
<postprocess preset="crt"></postprocess>
|
||||
<div style="flex flex-col items-center justify-center w-full mt-12">
|
||||
<h1 style="target text-8xl font-bold mb-4 text-[#4a9eff] font-serif font-italic">Hello!</h1>
|
||||
<p style="text-lg mb-8 text-[#cccccc]">Start browsing by typing in the omnibar.</p>
|
||||
|
||||
<p style="mb-2">Happy GURT:// exploration!</p>
|
||||
<h1 style="target text-8xl font-bold mb-4 text-[#4a9eff] font-serif font-italic">你好!</h1>
|
||||
<p style="text-lg mb-8 text-[#cccccc]">欢迎使用LeonBrowser</p>
|
||||
<p style="text-lg mb-8 text-[#cccccc]">使用搜索栏进行搜索</p>
|
||||
</div>
|
||||
</body>
|
||||
""".to_utf8_buffer()
|
||||
|
||||
Reference in New Issue
Block a user