Fake Date with Controls

Set a fake date in your browser globally using Tampermonkey with UI controls

Auteur
vijankush
Nombre d'installations quotidiennes
0
Nombre d'installations
2
Évaluations
0 0 0
Version
1.3
Créer
2025-04-01
Mis à jour
2025-04-01
Taille
8,07 ko
Licence
MIT
S'applique à
Tous les sites

Fake Date with Controls

A Tampermonkey/Greasemonkey script that lets you simulate a different date and time in your browser. This can be useful for testing date-sensitive websites, previewing future UI states, or bypassing time-based restrictions.

Features

  • Custom Date Setting: Set your browser to any date and time, past or future
  • Real-Time Toggle: Easily switch between fake time and real time
  • Persistent Settings: Your chosen date persists across page reloads and browser sessions
  • User-Friendly UI: Simple controls with clear status indicators
  • Global Effect: Works across all websites

Installation

  1. Install Tampermonkey or another userscript manager
  2. Click the "Install this script" button on this page
  3. Authorize the installation when prompted
  4. The script should now be active on all websites

Usage

After installation, you'll see a time control panel at the bottom right of every web page:

  • View Current Time: The panel shows the currently active time (fake or real)
  • Set a New Date: Use the date/time picker and click "Set Date"
  • Apply Changes: Click "Refresh Page" to apply the new date
  • Reset to Real Time: Click "Reset to Real Time" and then refresh
  • Hide Panel: Click "Hide Panel" to minimize (click the clock icon to restore)

How It Works

This script overrides JavaScript's native Date object and performance.now() function to return values adjusted by your specified time difference. Since most websites rely on these methods for time-related functions, the fake date works across most sites.

Privacy & Security

  • This script only affects the browser's date and time reporting
  • It doesn't send any data to external servers
  • Your chosen date settings are stored in your browser's localStorage
  • It doesn't modify actual HTTP requests or server-side timestamps

License

This script is provided under the MIT License.