mirror of
https://github.com/Maks1mS/userscripts.git
synced 2025-03-21 17:53:56 +03:00
Compare commits
No commits in common. "becff1ef681290085bb305c866c44ba04956e643" and "9cad4d315b84bccb913e622a66506a56dc34eb78" have entirely different histories.
becff1ef68
...
9cad4d315b
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name БЕСПЛАТНЫЕ ПВЗ ОЗОН
|
// @name БЕСПЛАТНЫЕ ПВЗ ОЗОН
|
||||||
// @namespace https://github.com/Maks1mS/userscripts
|
// @namespace https://github.com/Maks1mS/userscripts
|
||||||
// @version 0.2.1
|
// @version 0.2
|
||||||
// @description Заменяет партнерские ПВЗ на понятные адреса
|
// @description Заменяет партнерские ПВЗ на понятные адреса
|
||||||
// @author Maxim Slipenko
|
// @author Maxim Slipenko
|
||||||
// @match https://www.ozon.ru/*
|
// @match https://www.ozon.ru/*
|
||||||
@ -107,9 +107,8 @@
|
|||||||
const headerAddress = qs('[data-widget="addressBookBarWeb"] .tsBody400Small');
|
const headerAddress = qs('[data-widget="addressBookBarWeb"] .tsBody400Small');
|
||||||
const commonAddressBook = qsa('[data-widget="commonAddressBook"] .tsBody500Medium');
|
const commonAddressBook = qsa('[data-widget="commonAddressBook"] .tsBody500Medium');
|
||||||
const delivery = qsa('[data-widget="orderDeliveryDetails"] .tsBody500Medium');
|
const delivery = qsa('[data-widget="orderDeliveryDetails"] .tsBody500Medium');
|
||||||
const delivery2 = qsa('[data-widget="rfbsAddressInfo"] .tsBody500Medium');
|
|
||||||
|
|
||||||
const elements = [headerAddress, ...commonAddressBook, ...delivery, ...delivery2];
|
const elements = [headerAddress, ...commonAddressBook, ...delivery];
|
||||||
|
|
||||||
elements.forEach(handleElement);
|
elements.forEach(handleElement);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user