Firefox Workaround for Claude.ai Freeze Issue Using Tampermonkey Script

Firefox Freeze Issue and Workaround
A user on r/ClaudeAI reported persistent freezing issues when using Claude.ai in Firefox and shared a workaround using the Tampermonkey browser extension.
Technical Solution
The workaround involves creating a Tampermonkey script that modifies the Date.now() function to prevent timing conflicts that cause the interface to freeze. The script specifically targets the Claude.ai domain.
Script Implementation
Create a new Tampermonkey script with the following content:
// ==UserScript==
// @name Claude .ai Date.now fix
// @match https://claude.ai/*
// @run-at document-start
// @grant none
// ==/UserScript==
(function() {
const script = document.createElement('script');
script.textContent = `
(function() {
const _orig = Date.now.bind(Date);
let _last = 0;
Date.now = function() {
const t = _orig();
if (t <= _last) return ++_last;
return (_last = t);
};
})();
`;
document.documentElement.appendChild(script);
script.remove();
})();
The script works by intercepting Date.now() calls and ensuring they always return increasing values, preventing potential timing conflicts that cause the freeze.
Setup Requirements
- Firefox browser
- Tampermonkey extension installed
- Script configured to run on https://claude.ai/*
This type of timing workaround is sometimes necessary when browser APIs behave differently across implementations, particularly with time-sensitive operations in web applications.
📖 Read the full source: r/ClaudeAI
👀 See Also

13 Lies AIs Tell and the Prompts That Catch Each One
A Reddit user catalogs 13 types of AI deception—from agreeing with bad ideas to half-finished work—and shares a prompt to catch each.

Fixing Claude's Time Hallucinations in Claude Code with Hooks
A user discovered that Claude Code lacks real-time clock access, causing it to incorrectly suggest actions like 'get some rest' at inappropriate times. The fix involves adding a one-line hook to ~/.claude/settings.json that injects the current time into Claude's context on every message.

OpenClaw Crash Loop Debugging: A 5-Point Checklist
A Reddit post from r/openclaw provides a five-step checklist for quickly diagnosing crash loops in OpenClaw agents or gateways, focusing on failure shape, host pressure, provider latency, config diffs, and alert setup.

How to Disable Claude Code's 1M Context Window to Reduce Token Usage
Anthropic users can disable the 1M context window in Claude Code by adding environment variables to settings.json, which may reduce unexpected token consumption. The source provides two configuration options: completely disabling 1M context or capping the auto-compact window.