Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Firefox] Instant injection mode combined with run-at document-start breaks injection #1613

Closed
lainverse opened this issue Oct 10, 2022 · 2 comments

Comments

@lainverse
Copy link

lainverse commented Oct 10, 2022

Open https://www.wikipedia.org/
Open dev console

Expected Behavior

Script runs, you can see 1 in the console.

Actual Behavior

Script doesn't run and there's nothing in the console.

Specifications

  • Firefox: 105.0.3 (64-bit)
  • TM: 4.18.0 (stable)
  • OS: Windows 10

Script

// ==UserScript==
// @name         New Userscript
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.wikipedia.org/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=wikipedia.org
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    console.log(1);
})();
@lainverse lainverse changed the title Instant injection mode combined with run-at document-start breaks injection in Firefox [Firefox] Instant injection mode combined with run-at document-start breaks injection Oct 10, 2022
@derjanb derjanb added this to the 4.19 milestone Oct 11, 2022
@derjanb
Copy link
Member

derjanb commented Oct 27, 2022

Should be fixed at 4.19.6170 (in review|crx|xpi)

Please install the BETA version or check for BETA version updates at about:addons

For a quick fix please export your settings and scripts as zip or (JSON) file at the "Utilities" tab and import it back at the fixed BETA version.

@dimisa-RUAdList
Copy link

I tested this version in Firefox 106.0.2. Everything seems to be in order.

@derjanb derjanb closed this as completed May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants