The Tab Cloaker lets you replace both the browser tab title and the favicon shown in the tab bar, making the site look like a completely different page — a school assignment tool, a document editor, or anything you choose. Your settings are saved to the browser’sDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/theinfamouscoder5/codys-shack-games/llms.txt
Use this file to discover all available pages before exploring further.
localStorage under the title and icon keys and are automatically reapplied on every page load across the entire site, because every page includes js/main.js.
Tab cloaker settings are stored in your browser’s
localStorage. They are device- and browser-specific — settings will not carry over if you switch to a different browser, a different device, or an incognito/private window. Incognito mode uses a fresh, isolated storage context that is wiped when the window closes.Using the Tab Cloaker (UI)
Navigate to Settings (misc.html) to access the Tab Cloaker panel. All three actions use the single #userinput text field.
Set a custom tab title
Type your desired title (e.g.,
Google Classroom) into the input field and click Set Title. The tab title updates instantly and the value is saved so it persists across page navigations.Set a custom favicon
Replace the text in the input field with a full image URL pointing to the favicon you want (e.g., a
.ico or .png URL), then click Set Icon. The tab favicon updates immediately.JavaScript API
All tab cloaker logic lives injs/misc.js. The four functions below are what the Settings page buttons call, and they can also be invoked programmatically if you extend the site.
changeTabTitle()
changeTabTitle()
Reads the current value of the
#userinput field and updates the tab title.- Empty input — removes
localStorage["title"]and displays a message prompting a refresh to restore the default. - Non-empty input — calls
localStorage.setItem("title", value)and setsdocument.titleimmediately.
changeTabIcon()
changeTabIcon()
Reads the current value of the The full
#userinput field and updates the favicon <link> element.- Empty input — clears the favicon
hrefand removeslocalStorage["icon"]. - Valid URL — sets
localStorage.setItem("icon", value)and updatesdocument.querySelector("link[rel*='icon']").hrefimmediately. - Invalid URL — displays an error message; no storage change is made.
validURL() helper using this regular expression:changeTabIcon function (tcInput is the module-level constant document.getElementById("userinput") declared at the top of js/misc.js):resetTabSettings()
resetTabSettings()
Removes both
title and icon from localStorage and reloads the current page, restoring all site defaults.applyUrl(url, title)
applyUrl(url, title)
A convenience function that sets both a favicon URL and a tab title in a single call. It works by writing the values into the Example usage — add a preset button in
#userinput field and calling changeTabIcon() and changeTabTitle() sequentially. Useful for implementing one-click preset cloak buttons.misc.html:How Settings Are Applied on Every Page Load
js/main.js is loaded by every page in the site. On each load it reads the stored values from localStorage and applies them before the user sees the tab, so the cloak is seamless across navigation:
hasOwnProperty rather than a truthiness check, it only applies a value if the key actually exists in storage — an empty string stored under "title" would still be applied, while a missing key is safely ignored.
about:blank Opener
The Settings page includes a second privacy tool alongside the Tab Cloaker: the about:blank opener. Enter any URL in the provided field and click Create page. The site will:- Open a new browser window.
- Set the new window’s body background and dimensions.
- Inject a full-screen, borderless
<iframe>pointing to your URL.
about:blank rather than the game site’s domain, adding an extra layer of obscurity on top of the tab cloak.