The Banner Script
Part of the MountDev Ops Cookies documentation. Updated November 28, 2026
MountDev Ops Cookies documentation | Updated November 28, 2026
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.
Every update passes all 9,924 automated checks before it ships, and every screen change is walked through before release.
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. - 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-settingsreopens the preferences. - It saves the choice in one cookie on your website,
mdo_consent, that holds the choice and nothing else.
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.
