|
|
@@ -22,6 +22,11 @@ US_Browser.CreatBrower=function (address,flag) {//创建窗口,url,是否为
|
|
|
"name":null,
|
|
|
"favicons":'public/img/tray/logo.png'
|
|
|
};
|
|
|
+ li.data={//传窗口地址
|
|
|
+ "url":address,
|
|
|
+ "name":null,
|
|
|
+ "favicons":'public/img/tray/logo.png'
|
|
|
+ };
|
|
|
ListBody.tag_favicon=$$("img", {//标签页图标
|
|
|
"className": "tag_favicon", "draggable":"false", "alt":""
|
|
|
}, ListBody);
|
|
|
@@ -134,9 +139,9 @@ US_Browser.CreatBrower=function (address,flag) {//创建窗口,url,是否为
|
|
|
webview.fullSrceen=false;
|
|
|
webview.FindKey=false;
|
|
|
webview.onmousedown=function (e) {//webview鼠标事件
|
|
|
+ US_Browser.US_OpenLinkInNew.style.display=US_Browser.US_OpenImgInNew.style.display='none';
|
|
|
ipcRenderer.on('elm',function (e,msg) {
|
|
|
US_Browser.MouseData=msg;
|
|
|
- US_Browser.US_OpenLinkInNew.style.display=US_Browser.US_OpenImgInNew.style.display='none';
|
|
|
if(US_Browser.MouseData) {
|
|
|
let tag = US_Browser.MouseData.tag;
|
|
|
if (tag === 'A') {
|