
function mudfish_adclean_1bf56d9c8f9411892f5e5e63b41048e6() {
  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(`#mdnw-main-recommend-realCuration-swipeContainer > div[id*="-ad-"]:remove()`).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_1bf56d9c8f9411892f5e5e63b41048e6();
} else {
  window.addEventListener("load", (event) => {
    mudfish_adclean_1bf56d9c8f9411892f5e5e63b41048e6();
  });
}
