Skip to content

[BUG] Syntax error with Alternative page mode in Firefox #2368

@gqqnbig

Description

@gqqnbig

Sequence of actions:

  1. Install the following script:
// ==UserScript==
// @name       	test script
// @grant       GM_addStyle
// @match		*://windhawk.net/*
// ==/UserScript==


(function(){

  GM_addStyle("");

})();
  1. Go to https://windhawk.net/

Problem:

With "Alternative page mode in Firefox", the test script has a mystrious syntax error.

Image

Without "Alternative page mode in Firefox", the syntax error disappears.

Image

Environment:

  • OS: Windows
  • Browser: Firefox 132
  • Violentmonkey Version: 2.31

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions