mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
update AI engines
This commit is contained in:
parent
6fc7d22514
commit
f3ea023929
7 changed files with 16 additions and 12 deletions
|
@ -151,7 +151,10 @@ You should have received a copy of the GNU General Public License along with thi
|
|||
function cbStartLoading(e){
|
||||
if(!bDomainCSS) return;
|
||||
let tab = e.target;
|
||||
let domain = new URL(tab.getURL()).hostname;
|
||||
let domain;
|
||||
try{
|
||||
domain = new URL(tab.getURL()).hostname;
|
||||
}catch(e){return;}
|
||||
let jsF = path.join(sitecssP, domain+".js");
|
||||
loadJSFile(tab,jsF);
|
||||
jsF = path.join(sitecssP, domain+".css");
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"git":"https://github.com/search?type=Repositories&q=%s",
|
||||
"gt":"https://kkgithub.com/search?type=Repositories&q=%s",
|
||||
"360":"https://so.360.com/s?q=%s",
|
||||
"tg":"i:0/js/hash2textarea.js:https://www.tiangong.cn/#%s",
|
||||
"tg":"https://www.tiangong.cn/result?q=%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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue