Skip to content

Instantly share code, notes, and snippets.

View geyerbri's full-sized avatar

Brian Geyer geyerbri

View GitHub Profile
@nsauk
nsauk / glovo-address-remover.js
Created November 20, 2020 13:25
Remove saved delivery address from Glovo (bookmarklet, client-side)
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();