Untitled
unknown
plain_text
2 years ago
1.2 kB
10
Indexable
.container-fluid>div:last-of-type>div:first-child>div.eg-remove:not(.card-facet), .container-fluid>div:last-of-type>div:first-child>div.eg-remove:not(.card-facet) + div {
display: none !important;
}
(function () {
try {
/* main variables */
var debug = 0;
var variation_name = "";
var $;
/* all Pure helper functions */
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);
}
/* Variation Init */
function init() {
document.querySelector(".container-fluid>div:last-of-type>div:first-child>div:first-child").classList.add("eg-remove")
}
/* Initialize variation */
waitForElement('.container-fluid>div:last-of-type>div:first-child>div:first-child', init, 50, 15000);
} catch (e) {
if (debug) console.log(e, "error in Test" + variation_name);
}
})();
Editor is loading...