Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (function () {
- function addKeyToStorage() {
- var continueButton = document.querySelector('[bi-type="upsell go to cart(checkout) pdp"]');
- if (continueButton) {
- continueButton.addEventListener('click', function () {
- sessionStorage.setItem("showAdoricGasCilinder", false);
- });
- }
- }
- if (document.readyState === 'loading') {
- document.addEventListener('DOMContentLoaded', addKeyToStorage);
- } else {
- addKeyToStorage();
- }
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement