Skip to content

Commit bc307fd

Browse files
committed
allow scan to continue after some data load errors
1 parent ec4f747 commit bc307fd

12 files changed

+155
-60
lines changed

Diff for: WME Wide-Angle Lens Cities.user.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @match https://*.waze.com/*editor*
1313
// @exclude https://*.waze.com/user/editor*
1414
// @exclude https://www.waze.com/discuss/*
15-
// @version 2024.10.07.001
15+
// @version 2025.03.14.001
1616
// @grant GM_xmlhttpRequest
1717
// @copyright 2020 vtpearce
1818
// @license CC BY-SA 4.0
@@ -30,7 +30,7 @@ var WMEWAL_Cities;
3030
const SCRIPT_VERSION = GM_info.script.version.toString();
3131
const DOWNLOAD_URL = GM_info.script.downloadURL;
3232
const updateText = '<ul>'
33-
+ '<li>Fixes for latest WME release</li>'
33+
+ '<li>Fixes for getting stuck in some situations.</li>'
3434
+ '</ul>';
3535
const greasyForkPage = 'https://greasyfork.org/scripts/40642';
3636
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -943,7 +943,7 @@ var WMEWAL_Cities;
943943
}
944944
}
945945
if (isCSV) {
946-
const csvContent = lineArray.join("\n");
946+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
947947
const blobContent = [];
948948
if (addBOM) {
949949
blobContent.push('\uFEFF');
@@ -959,6 +959,7 @@ var WMEWAL_Cities;
959959
document.body.removeChild(node);
960960
}
961961
if (isTab) {
962+
WMEWAL.writeErrText(w);
962963
w.document.write("</table></body></html>");
963964
w.document.close();
964965
w = null;

Diff for: WME Wide-Angle Lens Cities.user.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @match https://*.waze.com/*editor*
1313
// @exclude https://*.waze.com/user/editor*
1414
// @exclude https://www.waze.com/discuss/*
15-
// @version 2024.10.07.001
15+
// @version 2025.03.14.001
1616
// @grant GM_xmlhttpRequest
1717
// @copyright 2020 vtpearce
1818
// @license CC BY-SA 4.0
@@ -32,7 +32,7 @@ namespace WMEWAL_Cities {
3232
const DOWNLOAD_URL = GM_info.script.downloadURL;
3333

3434
const updateText = '<ul>'
35-
+ '<li>Fixes for latest WME release</li>'
35+
+ '<li>Fixes for getting stuck in some situations.</li>'
3636
+ '</ul>';
3737
const greasyForkPage = 'https://greasyfork.org/scripts/40642';
3838
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -1101,7 +1101,7 @@ namespace WMEWAL_Cities {
11011101
}
11021102

11031103
if (isCSV) {
1104-
const csvContent = lineArray.join("\n");
1104+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
11051105
const blobContent: BlobPart[] = [];
11061106
if (addBOM) {
11071107
blobContent.push('\uFEFF');
@@ -1118,6 +1118,7 @@ namespace WMEWAL_Cities {
11181118
}
11191119

11201120
if (isTab) {
1121+
WMEWAL.writeErrText(w);
11211122
w.document.write("</table></body></html>");
11221123
w.document.close();
11231124
w = null;

Diff for: WME Wide-Angle Lens Locks.user.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// @match https://*.waze.com/*editor*
1212
// @exclude https://*.waze.com/user/editor*
1313
// @exclude https://www.waze.com/discuss/*
14-
// @version 2024.10.07.001
14+
// @version 2025.03.14.001
1515
// @grant GM_xmlhttpRequest
1616
// @copyright 2020 vtpearce
1717
// @license CC BY-SA 4.0
@@ -29,7 +29,7 @@ var WMEWAL_Locks;
2929
const SCRIPT_VERSION = GM_info.script.version.toString();
3030
const DOWNLOAD_URL = GM_info.script.downloadURL;
3131
const updateText = '<ul>'
32-
+ '<li>Fixes for latest WME release</li>'
32+
+ '<li>Fixes for getting stuck in some situations.</li>'
3333
+ '</ul>';
3434
const greasyForkPage = 'https://greasyfork.org/scripts/40643';
3535
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -988,7 +988,7 @@ var WMEWAL_Locks;
988988
}
989989
}
990990
if (isCSV) {
991-
const csvContent = lineArray.join("\n");
991+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
992992
const blobContent = [];
993993
if (addBOM) {
994994
blobContent.push('\uFEFF');
@@ -1004,6 +1004,7 @@ var WMEWAL_Locks;
10041004
document.body.removeChild(node);
10051005
}
10061006
if (isTab) {
1007+
WMEWAL.writeErrText(w);
10071008
w.document.write("</table></body></html>");
10081009
w.document.close();
10091010
w = null;

Diff for: WME Wide-Angle Lens Locks.user.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// @match https://*.waze.com/*editor*
1212
// @exclude https://*.waze.com/user/editor*
1313
// @exclude https://www.waze.com/discuss/*
14-
// @version 2024.10.07.001
14+
// @version 2025.03.14.001
1515
// @grant GM_xmlhttpRequest
1616
// @copyright 2020 vtpearce
1717
// @license CC BY-SA 4.0
@@ -32,7 +32,7 @@ namespace WMEWAL_Locks {
3232
const DOWNLOAD_URL = GM_info.script.downloadURL;
3333

3434
const updateText = '<ul>'
35-
+ '<li>Fixes for latest WME release</li>'
35+
+ '<li>Fixes for getting stuck in some situations.</li>'
3636
+ '</ul>';
3737
const greasyForkPage = 'https://greasyfork.org/scripts/40643';
3838
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -1125,7 +1125,7 @@ namespace WMEWAL_Locks {
11251125
}
11261126
}
11271127
if (isCSV) {
1128-
const csvContent = lineArray.join("\n");
1128+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
11291129
const blobContent: BlobPart[] = [];
11301130
if (addBOM) {
11311131
blobContent.push('\uFEFF');
@@ -1142,6 +1142,7 @@ namespace WMEWAL_Locks {
11421142
}
11431143

11441144
if (isTab) {
1145+
WMEWAL.writeErrText(w);
11451146
w.document.write("</table></body></html>");
11461147
w.document.close();
11471148
w = null;

Diff for: WME Wide-Angle Lens Map Comments.user.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @match https://*.waze.com/*editor*
1313
// @exclude https://*.waze.com/user/editor*
1414
// @exclude https://www.waze.com/discuss/*
15-
// @version 2024.10.07.001
15+
// @version 2025.03.14.001
1616
// @grant GM_xmlhttpRequest
1717
// @copyright 2020 vtpearce
1818
// @license CC BY-SA 4.0
@@ -30,7 +30,7 @@ var WMEWAL_MapComments;
3030
const SCRIPT_VERSION = GM_info.script.version.toString();
3131
const DOWNLOAD_URL = GM_info.script.downloadURL;
3232
const updateText = '<ul>'
33-
+ '<li>Fixes for latest WME release</li>'
33+
+ '<li>Fixes for getting stuck in some situations.</li>'
3434
+ '</ul>';
3535
const greasyForkPage = 'https://greasyfork.org/scripts/40644';
3636
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -751,7 +751,7 @@ var WMEWAL_MapComments;
751751
}
752752
}
753753
if (isCSV) {
754-
const csvContent = lineArray.join("\n");
754+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
755755
const blobContent = [];
756756
if (addBOM) {
757757
blobContent.push('\uFEFF');
@@ -767,6 +767,7 @@ var WMEWAL_MapComments;
767767
document.body.removeChild(node);
768768
}
769769
if (isTab) {
770+
WMEWAL.writeErrText(w);
770771
w.document.write("</tbody></table></body></html>");
771772
w.document.close();
772773
w = null;

Diff for: WME Wide-Angle Lens Map Comments.user.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @match https://*.waze.com/*editor*
1313
// @exclude https://*.waze.com/user/editor*
1414
// @exclude https://www.waze.com/discuss/*
15-
// @version 2024.10.07.001
15+
// @version 2025.03.14.001
1616
// @grant GM_xmlhttpRequest
1717
// @copyright 2020 vtpearce
1818
// @license CC BY-SA 4.0
@@ -33,7 +33,7 @@ namespace WMEWAL_MapComments {
3333
const DOWNLOAD_URL = GM_info.script.downloadURL;
3434

3535
const updateText = '<ul>'
36-
+ '<li>Fixes for latest WME release</li>'
36+
+ '<li>Fixes for getting stuck in some situations.</li>'
3737
+ '</ul>';
3838
const greasyForkPage = 'https://greasyfork.org/scripts/40644';
3939
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -862,7 +862,7 @@ namespace WMEWAL_MapComments {
862862
}
863863
}
864864
if (isCSV) {
865-
const csvContent = lineArray.join("\n");
865+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
866866
const blobContent: BlobPart[] = [];
867867
if (addBOM) {
868868
blobContent.push('\uFEFF');
@@ -879,6 +879,7 @@ namespace WMEWAL_MapComments {
879879
}
880880

881881
if (isTab) {
882+
WMEWAL.writeErrText(w);
882883
w.document.write("</tbody></table></body></html>");
883884
w.document.close();
884885
w = null;

Diff for: WME Wide-Angle Lens Places.user.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @match https://*.waze.com/*editor*
1313
// @exclude https://*.waze.com/user/editor*
1414
// @exclude https://www.waze.com/discuss/*
15-
// @version 2024.10.07.001
15+
// @version 2025.03.14.001
1616
// @grant GM_xmlhttpRequest
1717
// @copyright 2020 vtpearce
1818
// @license CC BY-SA 4.0
@@ -30,7 +30,7 @@ var WMEWAL_Places;
3030
const SCRIPT_VERSION = GM_info.script.version.toString();
3131
const DOWNLOAD_URL = GM_info.script.downloadURL;
3232
const updateText = '<ul>'
33-
+ '<li>Fixes for latest WME release</li>'
33+
+ '<li>Fixes for getting stuck in some situations.</li>'
3434
+ '</ul>';
3535
const greasyForkPage = 'https://greasyfork.org/scripts/40645';
3636
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -1266,7 +1266,7 @@ var WMEWAL_Places;
12661266
}
12671267
}
12681268
if (isCSV) {
1269-
const csvContent = lineArray.join("\n");
1269+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
12701270
const blobContent = [];
12711271
if (addBOM) {
12721272
blobContent.push('\uFEFF');
@@ -1282,6 +1282,7 @@ var WMEWAL_Places;
12821282
document.body.removeChild(node);
12831283
}
12841284
if (isTab) {
1285+
WMEWAL.writeErrText(w);
12851286
w.document.write("</tbody></table></body></html>");
12861287
w.document.close();
12871288
w = null;

Diff for: WME Wide-Angle Lens Places.user.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @match https://*.waze.com/*editor*
1313
// @exclude https://*.waze.com/user/editor*
1414
// @exclude https://www.waze.com/discuss/*
15-
// @version 2024.10.07.001
15+
// @version 2025.03.14.001
1616
// @grant GM_xmlhttpRequest
1717
// @copyright 2020 vtpearce
1818
// @license CC BY-SA 4.0
@@ -33,7 +33,7 @@ namespace WMEWAL_Places {
3333
const DOWNLOAD_URL = GM_info.script.downloadURL;
3434

3535
const updateText = '<ul>'
36-
+ '<li>Fixes for latest WME release</li>'
36+
+ '<li>Fixes for getting stuck in some situations.</li>'
3737
+ '</ul>';
3838
const greasyForkPage = 'https://greasyfork.org/scripts/40645';
3939
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -1466,7 +1466,7 @@ namespace WMEWAL_Places {
14661466
}
14671467
}
14681468
if (isCSV) {
1469-
const csvContent = lineArray.join("\n");
1469+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
14701470
const blobContent: BlobPart[] = [];
14711471
if (addBOM) {
14721472
blobContent.push('\uFEFF');
@@ -1483,6 +1483,7 @@ namespace WMEWAL_Places {
14831483
}
14841484

14851485
if (isTab) {
1486+
WMEWAL.writeErrText(w);
14861487
w.document.write("</tbody></table></body></html>");
14871488
w.document.close();
14881489
w = null;

Diff for: WME Wide-Angle Lens Streets.user.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @match https://*.waze.com/*editor*
1313
// @exclude https://*.waze.com/user/editor*
1414
// @exclude https://www.waze.com/discuss/*
15-
// @version 2024.10.07.001
15+
// @version 2025.03.14.001
1616
// @grant GM_xmlhttpRequest
1717
// @copyright 2020 vtpearce
1818
// @license CC BY-SA 4.0
@@ -30,7 +30,7 @@ var WMEWAL_Streets;
3030
const SCRIPT_VERSION = GM_info.script.version.toString();
3131
const DOWNLOAD_URL = GM_info.script.downloadURL;
3232
const updateText = '<ul>'
33-
+ '<li>Fixes for latest WME release</li>'
33+
+ '<li>Fixes for getting stuck in some situations.</li>'
3434
+ '</ul>';
3535
const greasyForkPage = 'https://greasyfork.org/scripts/40646';
3636
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -2819,7 +2819,7 @@ var WMEWAL_Streets;
28192819
}
28202820
}
28212821
if (isCSV) {
2822-
const csvContent = lineArray.join("\n");
2822+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
28232823
const blobContent = [];
28242824
if (addBOM) {
28252825
blobContent.push('\uFEFF');
@@ -2835,6 +2835,7 @@ var WMEWAL_Streets;
28352835
document.body.removeChild(node);
28362836
}
28372837
if (isTab) {
2838+
WMEWAL.writeErrText(w);
28382839
w.document.write("</table></body></html>");
28392840
w.document.close();
28402841
w = null;

Diff for: WME Wide-Angle Lens Streets.user.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// @match https://*.waze.com/*editor*
1313
// @exclude https://*.waze.com/user/editor*
1414
// @exclude https://www.waze.com/discuss/*
15-
// @version 2024.10.07.001
15+
// @version 2025.03.14.001
1616
// @grant GM_xmlhttpRequest
1717
// @copyright 2020 vtpearce
1818
// @license CC BY-SA 4.0
@@ -33,7 +33,7 @@ namespace WMEWAL_Streets {
3333
const DOWNLOAD_URL = GM_info.script.downloadURL;
3434

3535
const updateText = '<ul>'
36-
+ '<li>Fixes for latest WME release</li>'
36+
+ '<li>Fixes for getting stuck in some situations.</li>'
3737
+ '</ul>';
3838
const greasyForkPage = 'https://greasyfork.org/scripts/40646';
3939
const wazeForumThread = 'https://www.waze.com/forum/viewtopic.php?t=206376';
@@ -3125,7 +3125,7 @@ namespace WMEWAL_Streets {
31253125
}
31263126
}
31273127
if (isCSV) {
3128-
const csvContent = lineArray.join("\n");
3128+
const csvContent = lineArray.join("\n") + "\n" + WMEWAL.getErrCsvText();
31293129
const blobContent: BlobPart[] = [];
31303130
if (addBOM) {
31313131
blobContent.push('\uFEFF');
@@ -3142,6 +3142,7 @@ namespace WMEWAL_Streets {
31423142
}
31433143

31443144
if (isTab) {
3145+
WMEWAL.writeErrText(w);
31453146
w.document.write("</table></body></html>");
31463147
w.document.close();
31473148
w = null;

0 commit comments

Comments
 (0)