
function mudfish_adclean_86f5942a04d69e92756fcce91a77b1e5() {
  var g_conf = {
    mudfish_adclean_filter_on: true
  };
  chrome.storage.local.get(g_conf, function (items) {
    if (!g_conf.mudfish_adclean_filter_on) {
      return;
    }
    try {
      Sizzle(`div:not([class]) + div[class^="css-"]:has(> div[data-format="isvideo"])`).forEach(element => {
        element.style.display = "none";
      });
    } catch (error) {
      console.log('[ERROR] mudfish_adclean rule error: ' + error);
    }
  });
}

var mudfish_adclean_is_firefox = typeof InstallTrigger !== 'undefined';
if (mudfish_adclean_is_firefox) {
  mudfish_adclean_86f5942a04d69e92756fcce91a77b1e5();
} else {
  window.addEventListener("load", (event) => {
    mudfish_adclean_86f5942a04d69e92756fcce91a77b1e5();
  });
}
