Skip to content

Commit

Permalink
#211 #212 #213 bug fixed
Browse files Browse the repository at this point in the history
#211 #212 #213 bug fixed
  • Loading branch information
rizwansoaib authored Apr 28, 2024
1 parent 6929c34 commit 3352a69
Show file tree
Hide file tree
Showing 4 changed files with 1,782 additions and 429 deletions.
2 changes: 1 addition & 1 deletion Chrome-Extension/WhatsApp Monitor/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Online Monitor for WhatsApp",
"description": "Online Monitor WhatsApp Web",
"version": "3.1",
"version": "3.2",
"author": "Rizwan Ahmad",


Expand Down
24 changes: 24 additions & 0 deletions Chrome-Extension/WhatsApp Monitor/online.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ function dcsv2() {
csv.push(row.join(';'));
}
var csv_string = csv.join('\n');


var filename = `whatsapp-monitor_${new Date().toISOString().split('T')[0]}&&${new Date().toLocaleTimeString()}.csv`;
var link = document.createElement('a');
link.style.display = 'none';
Expand All @@ -173,12 +175,34 @@ function dcsv2() {
document.body.appendChild(link);
link.click();
document.body.removeChild(link);



/*
console.log(csv,csv_string);
// Save the CSV file.
var blob = new Blob([csv], {type: 'text/csv'});
var url = window.URL.createObjectURL(blob);
var link = document.createElement('a');
console.log(link,url);
link.href = url;
link.download = 'table.csv';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
*/


}







chrome.storage.local.get('save_interval', function (result4) {
save_interval = parseInt(result4.save_interval);
if(save_interval>=1)
Expand Down
2 changes: 1 addition & 1 deletion Chrome-Extension/WhatsApp Monitor/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ <h2>
<center>

<br><br>
<h3 align="center">Chrome Version 3.1 (1 September 2023)</h3>
<h3 align="center">Chrome Version 3.2 (1 May 2024)</h3>



Expand Down
Loading

0 comments on commit 3352a69

Please sign in to comment.