Created
April 11, 2023 05:44
-
-
Save niknah/bc1b0370ef74b7aa58081aef4b570407 to your computer and use it in GitHub Desktop.
Google My maps stuck on spinning arrow circle, not saving when editing.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// When editing google my maps and it gets stuck with the spinning arrow circle and your map has not saved. But you have kept the page with the spinner open with your unsaved info. Do not close this window. | |
// | |
// * Press F12, Go to the "console" tab. Copy and paste the below code. | |
// * Wait till it gets all the stuff and copy and paste the last bit into notepad. | |
// * Then copy and paste to google sheets or excel. | |
// | |
// Tested on 2023-04-11: If they update google my maps in the future it may not work, tell me. | |
// | |
// Problem referred to here... | |
// https://support.google.com/maps/thread/16395616/my-maps-not-saving-any-way-to-recover | |
// https://support.google.com/maps/thread/46422241/any-way-to-save-data-from-my-map-when-its-stuck-on-saving | |
(async function () { const arr=[]; for(const div of document.querySelectorAll('#featurelist-scrollable-container > div > div > div > div:nth-child(4) > div:nth-child(3) > div > div:nth-child(2) > div')) { div.parentNode.parentNode.dispatchEvent(new Event('mousedown')); await new Promise((resolve) => {setTimeout( resolve,100); }); arr.push([document.querySelector('#infowindow-measurements').innerText.replace(/,/g,"\t"),`"${div.innerText}"`]); } var s=''; for(const a of arr) { s+=a.join("\t")+"\n"; } console.log(s); })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment