From cb5a7bac2c9a86026fc1a5e06ffb4cb83ca542c4 Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Thu, 30 Dec 2021 16:01:56 +0800
Subject: [PATCH] rebuilding site Thu Dec 30 04:01:55 PM CST 2021
---
index.html | 2 +-
links/index.html | 4 ++++
searchurl/input.html | 6 +++---
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/index.html b/index.html
index d97db60a..8e343420 100644
--- a/index.html
+++ b/index.html
@@ -1,7 +1,7 @@
-
+
diff --git a/links/index.html b/links/index.html
index 1bcb725c..a979b1ad 100644
--- a/links/index.html
+++ b/links/index.html
@@ -85,6 +85,10 @@ socks代理
:可以为标准的mimetype。也可以在标准mimetype后面添加".<文件名>",此时uweb配置目录下的文件“<文件名>”内容会附在url部分数据后面一起显示。
+i:19[string]
+地址栏内容末尾附加[string]
+
+
i:50[file url]
兼容其它浏览器的方式打开本地文件。
diff --git a/searchurl/input.html b/searchurl/input.html
index adec7f0e..6bd174bd 100644
--- a/searchurl/input.html
+++ b/searchurl/input.html
@@ -101,7 +101,7 @@ var did = (window.name.slice(0, 3) == "if_") ? parseInt(window.name.slice(3)) :
// $UCh$ 表示漢字的16進制小寫Unicode變數
// $UCH$ 表示漢字的16進制大寫Unicode變數
var ref = did ? ("href='content://mdict.cn/entry/"+did+"/$CHR$'") :
- "title='U+$UCH$' href='http://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint=$ENC$' target='_blank'";
+ "title='U+$UCH$' href='i:19$ENC$'";
var cpy = "title='U+$UCH$' href='#1' onclick='SetClipBoard(\"$CHR$\")'";
var ime = 0;
@@ -440,7 +440,7 @@ var Init=function()
document.getElementById("variant").checked = GetCookie("variant", "1") == "1";
document.getElementById("onthefly").checked = GetCookie("onthefly", "1") == "1";
document.getElementById("largefont").checked = GetCookie("largefont", "0") == "1";
- document.getElementById("copymode").checked = GetCookie("copymode", "1") == "1";
+ document.getElementById("copymode").checked = GetCookie("copymode", "0") == "1";
document.getElementById((ie > 7) ? "input" : "input7").addEventListener('compositionstart', function(){ ime = true; });
document.getElementById((ie > 7) ? "input" : "input7").addEventListener('compositionend', function(){ setTimeout(function(){ ime = false; FindMatch(99,true); }, 1); });
@@ -470,4 +470,4 @@ window.onload = Init;
-
\ No newline at end of file
+