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