The Banner Script

The banner script is the small script a website loads to show your banner and keep each visitor's choice. It is built, and it stays off: nothing is shown to any website visitor until the wording has been reviewed. This page says what it does and what it cannot do.

Our Commitment

MountDev Ops is built security first. Your business data belongs to you, and you can export all of it at any time. We never use analytics or tracking of any kind inside MountDev Ops.

What the Script Does

  • It loads from your website's own address, under /_mdo/cookies/, so a visitor's browser talks only to your website. A website built somewhere else loads it from your workspace's address instead, with the line from Get Snippet.
  • It holds known tracking scripts until the visitor chooses. A held script runs only after its category is allowed.
  • It shows your live banner and a preferences window with a switch for each category and your cookie list.
  • It follows the rule for the visitor's region. A place it cannot tell always gets Opt In.
  • It treats Global Privacy Control and Do Not Track as you set them in Cookies Settings.
  • It sets Google Consent Mode to denied first, then updates it, when you turned that on for the website.
  • A link to #cookie-settings reopens the preferences.
  • It saves the choice in one cookie on your website, mdo_consent, that holds the choice and nothing else.

Where It Sits and What It Does While a Visitor Decides (Planned)

The banner is fixed to the screen edge in the position you chose, so it sits on top of the page and takes no room: nothing in the page moves when it appears or goes away. On a phone every position is a bottom sheet, up to about three quarters of the screen, with the words scrolling inside it and the buttons always in view. The preference center is a dialog in the middle on a computer and a full sheet on a phone, whatever the banner's position. A small Cookie Settings button, if you chose one, moves to the opposite side when the banner would cover it.

  • Show and Wait: the page scrolls freely while the banner shows.
  • Pause Scrolling Until a Choice: the page behind cannot scroll and is dimmed a little. Focus moves into the banner, the rest of the page is set aside for the keyboard and screen readers, and Esc does not close it. Reject All is on the first layer, the same size and style as Accept All, and lets the visitor into the whole page. The scrollbar space is kept so the page does not jump, and the pause is released if the banner cannot be drawn.
  • Scrolling Counts as Consent: only where the rule in force is Opt Out and the region is one you named. One deliberate scroll by wheel, touch, or key, past the distance you set, records one Scrolled row. A page load, a jump to a link, a restored scroll position, and a scroll inside the banner do not count, and a button pressed first wins. A Global Privacy Control signal, or Do Not Track where you honor it, wins first: the choice is recorded as a signal and no Scrolled row is written. Nothing about the scroll is stored. Ask your attorney before turning this on. It is not valid consent in opt in places.

The Look

The banner and the preference center take their colors, corners, and font from the settings you chose on the Banner screen, and follow the website's own light or dark choice: the attribute the website sets on its page (data-mdo-theme, data-theme, or a dark class), then the page's own color scheme, then the visitor's device. It only reads these and stores and sends nothing.

Changing a Choice Without a Reload

The page never reloads. Opening the preferences, closing them, and changing a choice all apply at once.

  • Turning a category on loads the scripts you held for it right away, and updates Google Consent Mode at once.
  • Turning a category off is handled by the Withdrawal Guard. It calls the tool's own opt out where one is known (Google Consent Mode, Meta, and Microsoft Clarity), blocks what its tools send (fetch, XMLHttpRequest, beacons, and image requests to their addresses), refuses the cookies and stored keys they try to write, and deletes the ones already there that are known for the category.
  • A script that was never allowed never loads.

The honest limit: a script that is already running cannot be unloaded. What the guard promises is that nothing it sends leaves the page and nothing it stores is kept. The lists of tools, addresses, and cookie names are a starting list, the same for every account, and they cannot know every tool. A tool the list does not know is not blocked. Hotjar has no live opt out call, so for it the guard blocks its sends and removes its cookies and stored keys, and a Hotjar script that is not allowed never loads.

What It Records

Each choice is recorded once, in your own account: the time, the website, the banner version, the action, the choices, the rule that applied, any privacy signals, and a random consent ID. It does not record an address, a place, a browser, or a page.

Limits on Recording

Each website records at most the ceiling you set in Cookies Settings a minute, and no more than 600 whatever it is. One consent ID can record 10 times a minute. A choice from another website's address is refused.

What the Script Cannot Do

The script runs in the visitor's browser, so it has limits. Know them before you rely on it.

  • It cannot stop a cookie your own server sets on the first request.
  • It cannot read or remove an HttpOnly cookie, or a cookie another website sets.
  • It cannot hold a tracker that started before the script loaded. Put the script as high in the head as you can.
  • It holds only the trackers it knows by address. A tracker it does not know is not held. Check the cookie list, then check your website.
  • It does not give legal advice and does not make a website compliant by itself. Confirm your rules with your own attorney.

Where to Find It

No screen, because the banner script runs on your website. You get its line in Cookies, then Cookies, with Get Snippet.