|
|
@@ -103,43 +103,58 @@ function triggerHoverEvents() {
|
|
|
|
|
|
|
|
|
|
|
|
-setTimeout(() => {
|
|
|
- if (location.href.startsWith('https://www.douyin.com/user/')) {
|
|
|
- // 执行触发
|
|
|
- triggerHoverEvents();
|
|
|
- setTimeout(() => {
|
|
|
- document.querySelectorAll('.ug0uBNhF div').forEach(element => {
|
|
|
- if (element.querySelector('span')) {
|
|
|
- const typeText = element.querySelector('span').innerText
|
|
|
- console.log(typeText)
|
|
|
- if (typeText == window.darw.jbxx.split('-')[0]) {
|
|
|
- element.querySelector('.A9Seu0Hm').click()
|
|
|
- }
|
|
|
- }
|
|
|
+// setTimeout(() => {
|
|
|
+// if (location.href.startsWith('https://www.douyin.com/user/')) {
|
|
|
+// // 执行触发
|
|
|
+// triggerHoverEvents();
|
|
|
+// setTimeout(() => {
|
|
|
+// document.querySelectorAll('.ug0uBNhF div').forEach(element => {
|
|
|
+// if (element.querySelector('span')) {
|
|
|
+// const typeText = element.querySelector('span').innerText
|
|
|
+// console.log(typeText)
|
|
|
+// if (typeText == window.darw.jbxx.split('-')[0]) {
|
|
|
+// element.querySelector('.A9Seu0Hm').click()
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
- });
|
|
|
- // 二级举报
|
|
|
- setTimeout(() => {
|
|
|
- document.querySelectorAll('.ug0uBNhF div').forEach(element => {
|
|
|
- if (element.querySelector('span')) {
|
|
|
- const typeText = element.querySelector('span').innerText
|
|
|
- console.log(typeText)
|
|
|
- if (typeText == window.darw.jbxx.split('-')[1]) {
|
|
|
- element.querySelector('.A9Seu0Hm').click()
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
+// });
|
|
|
+// // 二级举报
|
|
|
+// setTimeout(() => {
|
|
|
+// document.querySelectorAll('.ug0uBNhF div').forEach(element => {
|
|
|
+// if (element.querySelector('span')) {
|
|
|
+// const typeText = element.querySelector('span').innerText
|
|
|
+// console.log(typeText)
|
|
|
+// if (typeText == window.darw.jbxx.split('-')[1]) {
|
|
|
+// element.querySelector('.A9Seu0Hm').click()
|
|
|
+// }
|
|
|
+// }
|
|
|
+// });
|
|
|
|
|
|
- }, 3000);
|
|
|
- document.querySelector('.mlG4sNlr textarea').value = window.darw.jbly
|
|
|
+// }, 3000);
|
|
|
+// document.querySelector('.mlG4sNlr textarea').value = window.darw.jbly
|
|
|
|
|
|
- setTimeout(() => {
|
|
|
- document.querySelector('button.GPAlcn2R').click()
|
|
|
- }, 5000);
|
|
|
- }, 5000);
|
|
|
- }
|
|
|
-}, 5000);
|
|
|
+// setTimeout(() => {
|
|
|
+// // document.querySelector('button.GPAlcn2R').click()
|
|
|
+// }, 5000);
|
|
|
+// }, 5000);
|
|
|
+// }
|
|
|
+// }, 5000);
|
|
|
|
|
|
+loadJS('https://html2canvas.hertzen.com/dist/html2canvas.min.js')
|
|
|
+function captureAndDownload(element) {
|
|
|
+
|
|
|
+ html2canvas(element, {
|
|
|
+ scale: 2, // 提高截图质量
|
|
|
+ useCORS: true, // 允许跨域图片
|
|
|
+ backgroundColor: null // 透明背景
|
|
|
+ }).then(canvas => {
|
|
|
+ // 创建下载链接
|
|
|
+ const link = document.createElement('a');
|
|
|
+ link.download = '截图.png';
|
|
|
+ link.href = canvas.toDataURL('image/png');
|
|
|
+ link.click();
|
|
|
+ });
|
|
|
+}
|
|
|
loadJS('https://cunchu.site/puge/ws.js', () => {
|
|
|
let wsOptions = {
|
|
|
isAdmin: false,
|