Commit 3352a69 1 parent 6929c34 commit 3352a69 Copy full SHA for 3352a69
File tree 4 files changed +1782
-429
lines changed
Chrome-Extension/WhatsApp Monitor
4 files changed +1782
-429
lines changed Original file line number Diff line number Diff line change 2
2
"manifest_version" : 3 ,
3
3
"name" : " Online Monitor for WhatsApp" ,
4
4
"description" : " Online Monitor WhatsApp Web" ,
5
- "version" : " 3.1 " ,
5
+ "version" : " 3.2 " ,
6
6
"author" : " Rizwan Ahmad" ,
7
7
8
8
Original file line number Diff line number Diff line change @@ -164,6 +164,8 @@ function dcsv2() {
164
164
csv . push ( row . join ( ';' ) ) ;
165
165
}
166
166
var csv_string = csv . join ( '\n' ) ;
167
+
168
+
167
169
var filename = `whatsapp-monitor_${ new Date ( ) . toISOString ( ) . split ( 'T' ) [ 0 ] } &&${ new Date ( ) . toLocaleTimeString ( ) } .csv` ;
168
170
var link = document . createElement ( 'a' ) ;
169
171
link . style . display = 'none' ;
@@ -173,12 +175,34 @@ function dcsv2() {
173
175
document . body . appendChild ( link ) ;
174
176
link . click ( ) ;
175
177
document . body . removeChild ( link ) ;
178
+
179
+
180
+
181
+ /*
182
+
183
+ console.log(csv,csv_string);
184
+ // Save the CSV file.
185
+ var blob = new Blob([csv], {type: 'text/csv'});
186
+ var url = window.URL.createObjectURL(blob);
187
+ var link = document.createElement('a');
188
+ console.log(link,url);
189
+ link.href = url;
190
+ link.download = 'table.csv';
191
+ document.body.appendChild(link);
192
+ link.click();
193
+ document.body.removeChild(link);
194
+
195
+ */
196
+
197
+
176
198
}
177
199
178
200
179
201
180
202
181
203
204
+
205
+
182
206
chrome . storage . local . get ( 'save_interval' , function ( result4 ) {
183
207
save_interval = parseInt ( result4 . save_interval ) ;
184
208
if ( save_interval >= 1 )
Original file line number Diff line number Diff line change 233
233
< center >
234
234
235
235
< br > < br >
236
- < h3 align ="center "> Chrome Version 3.1 (1 September 2023 )</ h3 >
236
+ < h3 align ="center "> Chrome Version 3.2 (1 May 2024 )</ h3 >
237
237
238
238
239
239
You can’t perform that action at this time.
0 commit comments