Created
November 20, 2020 13:25
-
-
Save nsauk/07040982d1e0f126f51f7ebe08db4a1a to your computer and use it in GitHub Desktop.
Remove saved delivery address from Glovo (bookmarklet, client-side)
This file contains hidden or 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
javascript: | |
addresses = JSON.parse(localStorage.glv_user_addresses); | |
for (var i in addresses) { | |
address = addresses[i]; | |
if (confirm(address.fullText + "\n\n" + $nuxt.$i18n.t('common.remove') + "?")) { | |
delete addresses['DELIVERY.' + address.placeId] | |
}; | |
}; | |
localStorage.glv_user_addresses = JSON.stringify(addresses); | |
location.reload(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can't believe I have to use a fucking bookmarklet for this shit. Thanks.