Actual Behavior
Script does not run after F5 in UserScripts API Dynamic mode.
Expected Behavior
Script should run.
Steps to reproduce the issue
- Open new tab.
- Go to typescript playground
- Script runs.
- Refresh page by pressing F5.
- 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';