0
0
mirror of https://github.com/Maks1mS/userscripts.git synced 2025-03-21 17:53:56 +03:00

Compare commits

...

2 Commits

Author SHA1 Message Date
becff1ef68 Merge branch 'main' of https://github.com/Maks1mS/userscripts 2024-06-25 21:26:29 +03:00
5f002ba7f7 [FreeOzonDPR] update to 0.2.1
replace delivery in checkout
2024-06-25 21:26:26 +03:00

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name БЕСПЛАТНЫЕ ПВЗ ОЗОН
// @namespace https://github.com/Maks1mS/userscripts
// @version 0.2
// @version 0.2.1
// @description Заменяет партнерские ПВЗ на понятные адреса
// @author Maxim Slipenko
// @match https://www.ozon.ru/*
@ -107,8 +107,9 @@
const headerAddress = qs('[data-widget="addressBookBarWeb"] .tsBody400Small');
const commonAddressBook = qsa('[data-widget="commonAddressBook"] .tsBody500Medium');
const delivery = qsa('[data-widget="orderDeliveryDetails"] .tsBody500Medium');
const delivery2 = qsa('[data-widget="rfbsAddressInfo"] .tsBody500Medium');
const elements = [headerAddress, ...commonAddressBook, ...delivery];
const elements = [headerAddress, ...commonAddressBook, ...delivery, ...delivery2];
elements.forEach(handleElement);
}