Impex Cube - Better Date Selector

Enhanced date input with manual typing support - Format: DD/MM/YYYY

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey to install this script.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ผู้เขียน
quantavil
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
2
คะแนน
0 0 0
เวอร์ชัน
1.2
สร้างเมื่อ
17-01-2026
อัปเดตเมื่อ
17-01-2026
Size
24.5 กิโลไบต์
สัญญาอนุญาต
MIT
ปรับใช้กับ

Impex Cube - Better Date Selector

A userscript that modernizes the date inputs on Impex Cube (import/export) portals. It replaces the clunky default ASP.NET calendar with a fast, keyboard-friendly, and smart date picker.

🚀 Features

  • Smart Typing Support: Type dates naturally without touching the mouse.
    • 1805202418/05/2024
    • 18 dec 202418/12/2024
    • today / -1 / +7 (via quick buttons)
  • Keyboard Navigation:
    • / Arrow keys to increment/decrement days.
    • Enter to confirm and close.
    • Escape to close the picker.
  • Modern UI:
    • Clean, responsive calendar dropdown.
    • minimal visual clutter.
    • Green/Red borders for valid/invalid dates.
  • Fixes & Optimizations:
    • Removed restrictive input blocking (allows copy-paste and manual edits).
    • Debounced performance for fast page loads.
    • Works with dynamic ASP.NET UpdatePanels.

📥 Installation

  1. Install a userscript manager like Violentmonkey or Tampermonkey.
  2. Create a new script and paste the contents of main.js.
  3. Save and refresh your Impex Cube page.

🛠️ Usage

Just click any date field or tab into it.

  • Type: 30012025 or 30 jan and tab away.
  • Click: Use the calendar icon 📅 to pick a date.
  • Shortcuts: Use arrow keys to adjust dates quickly.

📋 Changelog

v1.2

  • Fixed: Prevented calendar from attaching to "Update" buttons and hidden fields.
  • Fixed: Removed length limit to allow typing long formats like "18 december 2024".
  • Fixed: Added support for "may" in date parsing.
  • Improved: Code cleanup, removed redundancy, and added debounce for performance.

v1.1

  • Initial public release with smart parser and keyboard support.