From 887b16b6d36902ea6554c8a397dba1baec586ab3 Mon Sep 17 00:00:00 2001 From: RIZWAN AHMAD Date: Sat, 26 Aug 2023 11:26:27 +0530 Subject: [PATCH] #208 Bug Fixed CSV Downloader #208 Bug Fixed CSV Downloader --- Chrome-Extension/WhatsApp Monitor/manifest.json | 2 +- Chrome-Extension/WhatsApp Monitor/online.js | 4 ++-- Chrome-Extension/WhatsApp Monitor/popup.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Chrome-Extension/WhatsApp Monitor/manifest.json b/Chrome-Extension/WhatsApp Monitor/manifest.json index 05f6f2c..da1ff9c 100644 --- a/Chrome-Extension/WhatsApp Monitor/manifest.json +++ b/Chrome-Extension/WhatsApp Monitor/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Online Monitor for WhatsApp", "description": "Online Monitor WhatsApp Web", - "version": "3.0", + "version": "3.1", "author": "Rizwan Ahmad", diff --git a/Chrome-Extension/WhatsApp Monitor/online.js b/Chrome-Extension/WhatsApp Monitor/online.js index 2cc8651..95303ab 100644 --- a/Chrome-Extension/WhatsApp Monitor/online.js +++ b/Chrome-Extension/WhatsApp Monitor/online.js @@ -204,7 +204,7 @@ var btn = document.createElement("BUTTON"); btn.innerHTML = ''; btn.id="download"; -document.querySelector('header[data-testid="chatlist-header"]').appendChild(btn); +document.querySelector('header').appendChild(btn); /* @@ -216,7 +216,7 @@ document.querySelector("#side > header").appendChild(img); var img=document.createElement("IMG"); img.src="https://raw.githubusercontent.com/rizwansoaib/whatsapp-monitor/master/Chrome-Extension/WhatsApp%20Monitor/images/icons/64.png" -document.querySelector('header[data-testid="chatlist-header"]').appendChild(img); +document.querySelector('header').appendChild(img); document.getElementById('download').addEventListener('click', dcsv2); diff --git a/Chrome-Extension/WhatsApp Monitor/popup.html b/Chrome-Extension/WhatsApp Monitor/popup.html index c60c6fd..c63f88c 100644 --- a/Chrome-Extension/WhatsApp Monitor/popup.html +++ b/Chrome-Extension/WhatsApp Monitor/popup.html @@ -233,7 +233,7 @@



-

Github Version 3.0 (1 December 2022)

+

Chrome Version 3.1 (1 September 2023)