Add the Keep Android Open countdown banner to your website with a single <script> tag. The banner is self-contained with no external dependencies — all styling and 20 localizations are built in. It auto-detects the visitor’s browser language and displays a live countdown to the September 2026 lockdown date.

Basic usage

Inserts a full-width banner at the top of the page:

<script src="https://keepandroidopen.org/banner.js"></script>

Query parameters

Customize the banner by appending query parameters to the script URL:

ParameterValuesDefaultDescription
langen, fr, de, es, …Browser languageOverride the display language
idAny element id(prepend to body)Insert the banner inside the element with this id
sizenormal, mininormalBanner size variant
linkAny URL, or nonehttps://keepandroidopen.orgMake the banner text a clickable link; set to none to disable
hidebuttonon, offonShow or hide the X close button (dismissed state is remembered per-site via localStorage)

Examples

French, mini size, inserted into a specific element:

<div id="my-banner"></div>
<script src="https://keepandroidopen.org/banner.js?lang=fr&size=mini&id=my-banner"></script>

Link to a custom page, no close button:

<script src="https://keepandroidopen.org/banner.js?link=https://example.com/android&hidebutton=off"></script>

Source

The source for the banner can be found at https://github.com/keepandroidopen/keepandroidopen.github.io/blob/main/public/banner.js. Suggestions for improvement are welcome!