|
@@ -279,39 +279,57 @@ function _addDeNetEditBtn(params = {}) {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
let toolElem = document.querySelector('div[data-testid="toolBar"]');
|
|
let toolElem = document.querySelector('div[data-testid="toolBar"]');
|
|
if (toolElem) {
|
|
if (toolElem) {
|
|
- Report.reportLog({
|
|
|
|
- pageSource: Report.pageSource.mainPage,
|
|
|
|
- businessType: Report.businessType.buttonView,
|
|
|
|
- objectType: Report.objectType.buttonSecond
|
|
|
|
- });
|
|
|
|
let innerDeIcon = document.getElementById('de-btn1');
|
|
let innerDeIcon = document.getElementById('de-btn1');
|
|
if (!innerDeIcon) {
|
|
if (!innerDeIcon) {
|
|
toolElem.firstChild.appendChild(createTweetToolbarDenet());
|
|
toolElem.firstChild.appendChild(createTweetToolbarDenet());
|
|
popupShowGiveawayDialog();
|
|
popupShowGiveawayDialog();
|
|
|
|
+ Report.reportLog({
|
|
|
|
+ pageSource: Report.pageSource.mainPage,
|
|
|
|
+ businessType: Report.businessType.buttonView,
|
|
|
|
+ objectType: Report.objectType.buttonSecond
|
|
|
|
+ }, {
|
|
|
|
+ type: 0
|
|
|
|
+ });
|
|
}
|
|
}
|
|
|
|
|
|
let innerToolBoxIcon = document.getElementById('de-tool-box-btn-01');
|
|
let innerToolBoxIcon = document.getElementById('de-tool-box-btn-01');
|
|
if (!innerToolBoxIcon) {
|
|
if (!innerToolBoxIcon) {
|
|
toolElem.firstChild.appendChild(createTweetToolbarToolBox())
|
|
toolElem.firstChild.appendChild(createTweetToolbarToolBox())
|
|
|
|
+ Report.reportLog({
|
|
|
|
+ pageSource: Report.pageSource.mainPage,
|
|
|
|
+ businessType: Report.businessType.buttonView,
|
|
|
|
+ objectType: Report.objectType.buttonSecond
|
|
|
|
+ }, {
|
|
|
|
+ type: 1
|
|
|
|
+ });
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
let toolElem = document.querySelector('div[data-testid="toolBar"]');
|
|
let toolElem = document.querySelector('div[data-testid="toolBar"]');
|
|
if (toolElem) {
|
|
if (toolElem) {
|
|
- Report.reportLog({
|
|
|
|
- pageSource: Report.pageSource.mainPage,
|
|
|
|
- businessType: Report.businessType.buttonView,
|
|
|
|
- objectType: Report.objectType.buttonSecond
|
|
|
|
- });
|
|
|
|
let innerDeIcon = document.getElementById('de-btn1');
|
|
let innerDeIcon = document.getElementById('de-btn1');
|
|
if (!innerDeIcon) {
|
|
if (!innerDeIcon) {
|
|
toolElem.firstChild.appendChild(createTweetToolbarDenet());
|
|
toolElem.firstChild.appendChild(createTweetToolbarDenet());
|
|
popupShowGiveawayDialog();
|
|
popupShowGiveawayDialog();
|
|
|
|
+ Report.reportLog({
|
|
|
|
+ pageSource: Report.pageSource.mainPage,
|
|
|
|
+ businessType: Report.businessType.buttonView,
|
|
|
|
+ objectType: Report.objectType.buttonSecond
|
|
|
|
+ }, {
|
|
|
|
+ type: 0
|
|
|
|
+ });
|
|
}
|
|
}
|
|
|
|
|
|
let innerToolBoxIcon = document.getElementById('de-tool-box-btn-01');
|
|
let innerToolBoxIcon = document.getElementById('de-tool-box-btn-01');
|
|
if (!innerToolBoxIcon) {
|
|
if (!innerToolBoxIcon) {
|
|
toolElem.firstChild.appendChild(createTweetToolbarToolBox())
|
|
toolElem.firstChild.appendChild(createTweetToolbarToolBox())
|
|
|
|
+ Report.reportLog({
|
|
|
|
+ pageSource: Report.pageSource.mainPage,
|
|
|
|
+ businessType: Report.businessType.buttonView,
|
|
|
|
+ objectType: Report.objectType.buttonSecond
|
|
|
|
+ }, {
|
|
|
|
+ type: 1
|
|
|
|
+ });
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}, 1000)
|
|
}, 1000)
|
|
@@ -595,6 +613,8 @@ function createTweetToolbarDenet() {
|
|
pageSource: Report.pageSource.mainPage,
|
|
pageSource: Report.pageSource.mainPage,
|
|
businessType: Report.businessType.buttonClick,
|
|
businessType: Report.businessType.buttonClick,
|
|
objectType: Report.objectType.buttonSecond
|
|
objectType: Report.objectType.buttonSecond
|
|
|
|
+ }, {
|
|
|
|
+ type: 0
|
|
});
|
|
});
|
|
_deNetBtnClick();
|
|
_deNetBtnClick();
|
|
})
|
|
})
|
|
@@ -615,6 +635,14 @@ function createTweetToolbarToolBox() {
|
|
_deNetBtnClick({
|
|
_deNetBtnClick({
|
|
type: 'TOOL_BOX'
|
|
type: 'TOOL_BOX'
|
|
})
|
|
})
|
|
|
|
+ // report
|
|
|
|
+ Report.reportLog({
|
|
|
|
+ pageSource: Report.pageSource.mainPage,
|
|
|
|
+ businessType: Report.businessType.buttonClick,
|
|
|
|
+ objectType: Report.objectType.buttonSecond
|
|
|
|
+ }, {
|
|
|
|
+ type: 1
|
|
|
|
+ });
|
|
})
|
|
})
|
|
|
|
|
|
return deToolBoxBtn;
|
|
return deToolBoxBtn;
|