Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (function() {
- var checkPrice = setInterval(function() {
- var productPrice = document.querySelector('.buyboxform .price');
- if (productPrice) {
- clearInterval(checkPrice);
- var priceValue = productPrice.getAttribute('data-price');
- priceValue = JSON.parse(priceValue);
- if (priceValue.Price) {
- window.adoricCurrentProductPrice = priceValue.Price;
- }
- }
- }, 500);
- setTimeout(function() {
- clearInterval(checkPrice);
- }, 7000);
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement