Tampermonkey Scripts
Collection of Tampermonkey scripts to enhance your Little Hotelier experience.

Add Button Check on Front Desk from Direct Booking
What does it do?
This script adds a button to check reservation details in Front Desk and review refunds.
Features:
- Button to check details in Front Desk
- Quick access to review refunds
- Improves navigation between sections
- Facilitates reservation management
It may be necessary to press the button twice if you are not logged into Front Desk, as the script does not check if you are connected.

Auto Refresh On Inactivity
What does it do?
This script automatically refreshes the page after a specified period of user inactivity to prevent session expiration issues.
Features:
- Refreshes page after 10 minutes of inactivity
- Detects user activity (clicks, mouse movement, scroll) to do not refresh the page while using
- Prevents session expiration
- Works on all Little Hotelier and Direct Booking pages

Bank Transfer Email Button
What does it do?
This script adds a button for sending bank transfer details via email with pre-filled content.
Features:
- Button for sending bank transfer details
- Pre-filled email content
- Simplifies payment communication process
- Improves efficiency in sending banking information
Note: This script is not published yet. Please contact me to create a custom script for your needs.

Change Inventory Name
What does it do?
This script changes the "Inventory" menu name to include pricing information, making it more intuitive and descriptive.
Features:
- Modifies "Inventory" menu name to "Inventory - Prices"
- Works in multiple languages (Spanish and English)
- Improves navigation clarity
- Runs automatically when page loads

Compact Calendar UI
What does it do?
This script reduces the size of unnecessary elements in the Little Hotelier calendar to display more information on the screen.
Features:
- Optimizes date table layout
- Displays the date titles in a single row instead of 3
- Reduces the height of room type names

Compact UI Reservation Details
What does it do?
This script compacts the UI for reservation details and makes the comments section taller.
Features:
- Compacts reservation details UI
- Increases comments section height
- Optimizes screen space usage
- Improves visibility of important information

Extra Invoice Print Button
What does it do?
This script adds an extra button to print the invoice directly without opening menus.
Features:
- Direct invoice printing button
- Quick access without menu navigation
- Improves workflow efficiency
- More user-friendly interface

Full Width Reservation Table
What does it do?
This script makes the reservation table in Little Hotelier much wider, allowing you to see more information at a glance and avoid horizontal scrolling.
Features:
- Expands the reservation table to full width
- Improves visibility of columns
- No more annoying scrollbars

Improve Style For Touch Screens
What does it do?
This script enhances UI elements for touch screens, making buttons more accessible and menus larger.
Features:
- Optimizes interface for touch screens
- Larger and more accessible buttons
- Touch-friendly menu adaptations
- Improves experience on tablets and mobile devices
- Shows always the button to remove a room that only appears on hover

Prices Display
What does it do?
This script shows room prices directly in the Little Hotelier calendar view by fetching pricing data from the inventory page.
Features:
- Displays room prices in calendar view
- Automatically fetches inventory data
- Improves pricing visibility for staff
- Real-time price information

Show Booking.com Commissions
What does it do?
This script shows estimation for commissions breakdown for Booking.com reservations.
Features:
- Shows Booking.com commission estimation
- Detailed cost breakdown
- Improves financial transparency
- Helps with revenue management

Tables Full Width
What does it do?
This script makes all tables in Direct Booking wider to display more information.
Features:
- Expands all tables in Direct Booking
- Improves information visibility
- Better utilizes screen space
- Reduces need for horizontal scrolling

Update Number Adults
What does it do?
This script automatically sets the number of adults to 2 by default in reservation forms to prevent errors when the value is 0.
Features:
- Sets default adults count to 2
- Prevents booking errors with 0 adults
- Improves user experience in reservation management
- Improves user experience in reservation management

Update Payment Link Button
What does it do?
This script improves the payment link button with better text and automatically adds the phone number from the input field.
Features:
- Improves payment link button text
- Automatically adds phone number
- Simplifies payment link generation process
- Enhances user experience