The TeleBotHost badge is a small, non-intrusive floating element that shows "Built with TeleBotHost" on your website. It automatically positions itself in a corner and includes protection mechanisms to ensure it stays visible.
Simply include the TeleBotHost script on your website - the badge will automatically appear with default settings.
Add this script before the TeleBotHost script:
<script>
window.TeleBotHostConfig = {
position: 'bottom-right', // Options: 'bottom-right', 'bottom-left', 'top-right', 'top-left'
theme: 'default' // Options: 'default', 'dark', 'minimal'
};
</script>Configure the badge via URL parameters (useful for testing):
https://yoursite.com/?tbh_position=top-left
Control where the badge appears:
window.TeleBotHostConfig = {
position: 'bottom-right' // Default
// Other options:
// - 'bottom-left'
// - 'top-right'
// - 'top-left'
};Choose from predefined color schemes:
window.TeleBotHostConfig = {
theme: 'default' // Options: 'default', 'dark', 'minimal'
};Theme Examples:
default: Light background, dark textdark: Dark background, light textminimal: Subtle light theme with reduced shadow
<script>
window.TeleBotHostConfig = {
position: 'bottom-right',
theme: 'dark'
};
</script><script>
window.TeleBotHostConfig = {
position: 'top-left',
theme: 'minimal'
};
</script><!-- No configuration needed - uses defaults -->Badge overlapping content?
- Try a different position (e.g.,
top-leftinstead ofbottom-right) - The badge should auto-adjust, but manual position change may help
Theme not applying?
- Verify theme name spelling ('default', 'dark', 'minimal')
- Ensure configuration is set before script loads
For issues or feature requests, contact TeleBotHost support.
The badge is designed to be lightweight, unobtrusive, and respectful of your website's design while properly attributing TeleBotHost.