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)