Skip to content

Checking page ​

The checking page is what visitors see while Tamamo checks their browser, when a rule blocks them, or when the check fails. Edit it in the Checking page screen of the web UI, or under page: in tamamo.yaml. Both write the same settings.

The Checking page designer

The designer ​

The tabs are Texts, Look & theme, Layout, Mascot & images, Progress & behavior, Languages and Advanced & CSS.

The preview is simulated and never runs a real check. Click Checking, Success, Denied or Error to see each state. Visitors see changes after you save.

Editing picks the global settings (used by the default site and by every site without its own page) or one site. Only the keys that differ need to be listed under a site. See Sites.

Reset page to defaults restores texts, colors, layout and custom CSS. Uploaded images stay.

Texts ​

{host} in any heading or message becomes the host name the visitor opened.

KeyWeb UIDefaultWhat it does
titleBrowser tab titleJust a moment…Browser tab title, up to 200 characters.
langLanguage codeenLanguage of the main texts, for screen readers and translation tools. Invalid codes become en.
texts.checkingWhile checkingBuilt inHeading and message while the browser works on the puzzle.
texts.successSuccessBuilt inShown after the check passes.
texts.deniedDeniedBuilt inShown when a Block rule refuses the request.
texts.errorErrorBuilt inShown when the check fails or the browser can't run it.
retry_labelRetry buttonTry againButton on the error state.
continue_labelContinue buttonContinueButton shown when auto_redirect is false.
noscriptMessage when JavaScript is offBuilt inShown when JavaScript is disabled.
footer_textFooter textemptySmall line at the bottom, such as a contact address.
labelsOther wordingBuilt inStat names, units and problem messages. Each is up to 500 characters.

Each state takes a heading and a message, such as texts.checking.heading.

Colors ​

KeyWeb UIDefaultWhat it does
theme_modeColor modedarklight, dark or auto. auto follows the visitor's device. Invalid values become auto.
lightPalettes (Light)Built inNine colors for light mode.
darkPalettes (Dark)Built inNine colors for dark mode.

Each palette takes background (page behind the card), surface (card), text, muted (secondary text), accent (progress bar and buttons), accent_text (text on the accent), border, success and danger (denied and error). Use #rgb, #rgba, #rrggbb or #rrggbbaa. List only the colors you change.

Quote the colors

In YAML, # starts a comment unless the value is quoted. Write accent: "#ff8a65".

Typography and layout ​

KeyWeb UIDefaultWhat it does
fontFontsystemsystem, serif, rounded, mono or custom.
custom_fontCustom font familyemptyFont family name, used when font is custom. Web fonts are not loaded, so the font must be installed on the visitor's device.
font_scaleText size10070 to 150, in percent.
heading_weightHeading weight700300 to 900.
alignText alignmentcenterleft or center.
layoutStylecardcard puts content in a box, split puts the mascot beside it, minimal drops the box.
card_widthContent width520320 to 1100, in pixels.
radiusCorner radius160 to 48, in pixels.
card_borderBorder around the cardtrueDraws a border.
card_shadowShadow under the cardfalseDraws a shadow.
credit_alignPosition of the creditcenterleft, center or right.
custom_cssCustom CSS boxemptyExtra CSS for every state. See Custom CSS.

The "Protected by Tamamo" credit (the small line at the bottom of the page) is always shown. You can move it with credit_align, but you can't remove or hide it.

Mascot and images ​

KeyWeb UIDefaultWhat it does
mascot_showShow the mascottrueShows the mascot picture.
mascot_positionPositiontoptop, bottom, left or right of the text.
mascot_sizeSize20048 to 480, in pixels.
mascot_animationAnimationfloatnone, float, bounce or wiggle. Visitors who ask for reduced motion never see it move.
mascot_mirrorMirror horizontallyfalseFlips the picture left to right.

Upload images in the Mascot & images tab. Uploads take effect at once. Or put a file in the uploads folder of your data folder (data/uploads/ in the default Docker setup). The slots and their file names:

  • checking.*, success.* and denied.* replace the mascot for each state.
  • background.* is the background when background is image.
  • favicon.* replaces the browser tab icon.

Files can be PNG, JPEG, GIF or WebP, up to 4 MB. If a name has several files, Tamamo serves the first one in the order .png, .jpg, .gif, .webp, so delete the old file when you change its extension.

Background ​

KeyWeb UIDefaultWhat it does
backgroundBackgrounddotssolid, dots, grid, stripes or image. image uses uploads/background.*. Without that file, the plain background color shows.
background_blurBlur00 to 40, in pixels. Applies to a background image.
background_dimDim400 to 90, in percent. Darkens a background image so text stays readable.

Progress and timing ​

Keys ending in _ms are in milliseconds. 1000 ms is one second.

KeyWeb UIDefaultWhat it does
progressProgress indicatorbarbar, ring, dots, spinner or none.
show_difficultyShow the difficultytrueShows the difficulty as a stat.
show_hash_rateShow the hash ratetrueShows how fast the browser works.
show_elapsedShow elapsed timetrueShows how long the check has run.
show_percentShow an estimated percentagefalseShows an estimate. It can pass 100%, because proof of work has no real progress.
min_display_msShow the page for at least8000 to 15000. Keeps the page from flashing past on fast devices.
success_delay_msPause on success for9000 to 15000. How long the success message stays.
auto_redirectContinue automaticallytrueWhen false, visitors press the Continue button.
animationsAnimationstrueTurns animations off for everyone.

Languages ​

language picks the language visitors see. auto uses the browser's language when a translation exists, and lang otherwise. Russian (ru) and Ukrainian (uk) are built in. Empty translation fields fall back to the main text. Set a language to off to remove it:

yaml
page:
  language: auto
  translations:
    ru: off                     # remove the built-in Russian
    de:
      title: Einen Moment…
      texts:
        checking:
          heading: Wir prüfen Ihren Browser
          message: Tamamo prüft Ihren Browser, bevor Sie {host} öffnen.
      retry_label: Erneut versuchen

Codes are lowercase, such as de or pt-br. In the web UI, use Add language on the Languages tab.

Custom CSS ​

Custom CSS is added after Tamamo's styles and applies to every state. It is limited to 64 KB, and it is refused if it contains a < or mentions tm-credit in any letter case. The page's elements have tm- class names, such as .tm-panel (the card) and .tm-bar (the progress bar). Overriding a variable on :root is the easiest change:

css
:root {
  --tm-accent: #3b82f6;
}

Released under the MIT License.