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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue