Skip to content

[BUG][Firefox] Script does not run after F5 in UserScripts API Dynamic mode #2619

@AjiTae

Description

@AjiTae

Actual Behavior

Script does not run after F5 in UserScripts API Dynamic mode.

Expected Behavior

Script should run.

Steps to reproduce the issue

  1. Open new tab.
  2. Go to typescript playground
  3. Script runs.
  4. Refresh page by pressing F5.
  5. Script does not run.

Environment (please complete the following information)

  • Browser and Version: Firefox 145.0.2
  • Tampermonkey version: beta v5.5.6232
  • Operating System and Version: Windows 10

Script

Please give an example of the script or its installation URL if applicable.

// ==UserScript==
// @name         test
// @match        https://*.typescriptlang.org/*
// @match        https://typescriptlang.org/*
// ==/UserScript==
console.log('tm-script-executed')
document.documentElement.innerHTML = 'tm-script-executed';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions