System
Label Value Edit
Version 2.7.6
Language English (English)
Support Discord | Github | Blog
Donate Paypal
Appearance
Label Value Edit
Background Image - not set -
Trianglify No
Trianglify Random Seed DSquad
Treat Tags As: Folders
Miscellaneous
Label Value Edit
Homepage Search No
Default Search Provider Google
Link opens in Open in the same tab
Advanced
Label Value Edit
Custom CSS
@import url("https://fonts.googleapis.com/css?family=Raleway");

#app {
    background-position: center;
}

#app #sortable,
#app main {
    padding: 25px;
}

#config-buttons {
    bottom: 50%;
    transform: translateY(50%);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    box-shadow: rgba(255, 255, 255, 0.1) -1px 1px 1px 0, rgba(255, 255, 255, 0.1) 0 -1px 1px 0, rgba(0, 0, 0, 0.1) -1px 0 20px 5px;
    background-color: rgba(40, 40, 40, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#config-buttons a {
    background: none;
}

#config-buttons a svg {
    transition: all 0.1s linear;
    color: rgba(255, 255, 255, 0.5);
}

#config-buttons a:hover svg {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.95);
}

.black {
    color: white !important;
}

.item {
    box-shadow: rgba(0, 0, 0, 0.1) -1px -1px 3px 0, rgba(0, 0, 0, 0.2) 0px 10px 10px -3px, rgba(0, 0, 0, 0.04) 0px 10px 10px -3px !important;
    border-radius: 12% / 45%;
    border: hidden;
    outline: hidden;
    height: 75px;
    width: 275px;
    margin: 1.0rem;
    padding: 1rem 60px 1rem 1rem;
    transition: all 1.0s easy-in-out;
    transition-property: transform, box-shadow, background-color;
    background-color: rgba(255, 255, 255, 0.2) !important;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
}

.item:hover {
    background-color: rgba(40, 40, 40, 0.3) !important;
    box-shadow: rgba(66, 66, 66, 0.1) 0px 30px 30px -17px !important;
}
Custom JavaScript
$(document).ready(function () {
  const base = (document.querySelector("base") || {}).href || '/';
  const container = $("#sortable");

  const liveStats = () => {
    let hidden, visibilityChange;

    if (typeof document.hidden !== "undefined") {
      hidden = "hidden";
      visibilityChange = "visibilitychange";
    } else if (typeof document.msHidden !== "undefined") {
      hidden = "msHidden";
      visibilityChange = "msvisibilitychange";
    } else if (typeof document.webkitHidden !== "undefined") {
      hidden = "webkitHidden";
      visibilityChange = "webkitvisibilitychange";
    }

    const livestatsRefreshTimeouts = [];
    const livestatsFuncs = [];
    const livestatsContainers = $(".livestats-container");

    function stopLivestatsRefresh() {
      livestatsRefreshTimeouts.forEach(id => clearTimeout(id));
    }

    function startLivestatsRefresh() {
      livestatsFuncs.forEach(fun => fun());
    }

    if (livestatsContainers.length > 0) {
      if (document.addEventListener && hidden !== undefined) {
        document.addEventListener(visibilityChange, () => {
          document[hidden] ? stopLivestatsRefresh() : startLivestatsRefresh();
        });
      }

      livestatsContainers.each(function (index) {
        const id = $(this).data("id");
        const dataonly = $(this).data("dataonly");
        const increaseby = dataonly == 1 ? 20000 : 1000;
        const container = $(this);
        const max_timer = 30000;
        let timer = 5000;

        const worker = function () {
          $.ajax({
            url: base + "get_stats/" + id,
            dataType: "json",
            success: function (data) {
              if (data?.html) {
                container.html(data.html);
                timer = data.status === "active"
                  ? increaseby
                  : Math.min(timer + 2000, max_timer);
              }
            },
            complete: function () {
              livestatsRefreshTimeouts[index] = setTimeout(worker, timer);
            }
          });
        };

        livestatsFuncs[index] = worker;
        worker();
      });
    }
  };

  const customMain = () => {
    if (window.location.pathname !== "/") return;
    if (!container.length) return;

    const existingContent = container.children().not('.add-item');

    const wrapper = document.createElement("div");
    wrapper.classList.add("tags-container");
    $(wrapper).append(existingContent);

    container.empty()
      .append(wrapper)
      .append($('.add-item'))
      .css("opacity", "1");

    liveStats();
  };

  customMain();
});

/* ---------- Background ---------- */
document.addEventListener('DOMContentLoaded', function () {
  const bgContainer = document.createElement('div');
  bgContainer.className = 'background-container';

  const appElement = document.getElementById('app');
  if (appElement?.style?.backgroundImage) {
    bgContainer.style.backgroundImage = appElement.style.backgroundImage;
  }

  document.body.insertBefore(bgContainer, document.body.firstChild);
});

/* ---------- HEIMDALL SECURITY BREACH ---------- */
document.addEventListener("DOMContentLoaded", function () {

  // Heimdall-specific detection (menu item unique to gherton.io Heimdall)
  const isHeimdall =
    document.querySelector('a[href*="Application list"]');

  if (!isHeimdall) return;
  if (sessionStorage.getItem("heimdallScareShown")) return;

  sessionStorage.setItem("heimdallScareShown", "1");

  setTimeout(() => {
    const overlay = document.createElement("div");
    overlay.innerHTML = `
      <div style="
        background:#0b0b0b;
        border:3px solid red;
        padding:40px;
        max-width:640px;
        text-align:center;
        box-shadow:0 0 40px red;
      ">
        <h1 style="color:red; margin-bottom:20px;">⚠ SECURITY BREACH DETECTED ⚠</h1>
        <p>Heimdall has detected anomalous access behavior.</p>
        <p>Status: <b>LOCKDOWN INITIATED</b></p>
        <p>Response Level: <b>CRITICAL</b></p>
        <p style="margin-top:20px; opacity:0.7;">Do not refresh.</p>
      </div>
    `;

    overlay.style.cssText = `
      position:fixed;
      inset:0;
      background:rgba(0,0,0,0.96);
      display:flex;
      align-items:center;
      justify-content:center;
      z-index:999999;
      font-family:monospace;
      color:white;
    `;

    document.body.appendChild(overlay);

    try {
      new Audio("https://actions.google.com/sounds/v1/alarms/beep_short.ogg").play();
    } catch {}

    document.body.style.cursor = "wait";

    setTimeout(() => {
      overlay.innerHTML = `
        <div style="text-align:center">
          <h1 style="letter-spacing:4px;">REMAIN VIGILANT</h1>
          <p style="opacity:0.5; margin-top:10px;">👁️</p>
        </div>
      `;
      document.body.style.cursor = "";

      setTimeout(() => overlay.remove(), 2500);
    }, 3000);

  }, 2000);
});