mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
ebrowser v1.0.44
This commit is contained in:
parent
c8c7c4e896
commit
e28838f738
8 changed files with 17 additions and 15 deletions
|
@ -425,15 +425,15 @@ You should have received a copy of the GNU General Public License along with thi
|
|||
do {
|
||||
if(q.length>12){
|
||||
let c6 = q.charCodeAt(6);
|
||||
if(47===c6){// '/'
|
||||
if(58===q.charCodeAt(1)){
|
||||
internalLink(q);
|
||||
return;
|
||||
}else if(47===c6){// '/'
|
||||
let c5 = q.charCodeAt(5);
|
||||
if(47===c5 && 58===q.charCodeAt(4))//http/file urls
|
||||
break NOREC;
|
||||
if(58===c5 && 47===q.charCodeAt(7))//https://
|
||||
break NOREC;
|
||||
}else if(58===q.charCodeAt(1)){
|
||||
internalLink(q);
|
||||
return;
|
||||
}else if(q.startsWith("javascript:")){
|
||||
tabs.children[iTab].executeJavaScript(q.substring(11),false);
|
||||
recQueryHistory(q);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{"version":"1.0.43",
|
||||
{"version":"1.0.44",
|
||||
"name": "ebrowser",
|
||||
"description": "The keyboard-friendly minimal suckless web browser",
|
||||
"main": "webview.js",
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
"tg":"i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s",
|
||||
"cg":"i:0/js/hash2textarea.js:https://chatglm.cn/main/detail#%s",
|
||||
"s100":"i:0/js/hash2input.js:https://www.sou100.com/#%s",
|
||||
"csdn":"i:0/js/hash2textarea.js:https://chat.csdn.net#%s",
|
||||
"bdc":"i:0/js/hash2editable.js:https://chat.baidu.com/#%s",
|
||||
"miku":"i:0/js/hash2textarea.js:https://www.hellomiku.com#%s",
|
||||
"bd":"https://m.baidu.com/s?wd=%s"
|
||||
"bd":"https://baidu.com/s?wd=%s"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue