Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.6 kB
3
Indexable
<style>
html body main div>div>div.eg-css {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
}

html body main div>div>div.eg-css>div+div {
  -webkit-box-ordinal-group: 4 !important;
  -ms-flex-order: 3 !important;
  order: 3 !important;
}

#showFaqButton>span {
  display: none !important;
}

@media (max-width:419.98px) {
  form div>hr+div:first-of-type {
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
  }

  form div>div>div+div {
    width: auto !important;
  }

  #continueButton {
    width: auto !important;
  }
}
</style>

(function () {
  try {
    function waitForElement(selector, trigger, delayInterval, delayTimeout) {
      var interval = setInterval(function () {
        if (
          document &&
          document.querySelector(selector) &&
          document.querySelectorAll(selector).length > 0
        ) {
          clearInterval(interval);
          trigger();
        }
      }, delayInterval);
      setTimeout(function () {
        clearInterval(interval);
      }, delayTimeout);
    }
    function init() {
      /* start your code here */
     document.querySelector('main div >div > div').classList.add('eg-css');
    }
    /* Initialise variation */
        waitForElement('main div >div > div', init, 50, 15000);
    
  } catch (e) {
    console.log(e, "error in Test");
  }
})();