App CSS

  • Home
  • YouTube

Links

  • YouTube

Pages

  • About
  • Labels

Builder v6.6

App Scripts

JS: Runner

Post Edit Link

Wait Utility

comments

JS: Mobile m=1 Link Fix

(async function () { await new Promise(resolve => window.setTimeout(resolve, 500)); const currentUrl = new URL(window.location.href); const currentParams = currentUrl.searchParams; const hasM1 = currentParams.has("m") && currentParams.get("m") === "1"; if (!hasM1) return; // Exit if m=1 is not present in the current URL document.querySelectorAll("a").forEach((link) => { const linkUrl = new URL(link.href, window.location.origin); if (linkUrl.origin === window.location.origin) { // Internal link check if (!linkUrl.searchParams.has("m")) { linkUrl.searchParams.set("m", "1"); } link.href = linkUrl.toString(); } }); })();

Auth Script