Skip to content

[BUG] Throws error navigation is not defined in Firefox #9

@thislooksfun

Description

@thislooksfun

Describe the bug
Running the script in Firefox produces the error navigation is not defined. It looks like this is due to the script using the experimental Nagivation API, which is not yet supported in Firefox.

To Reproduce
Steps to reproduce the behavior:

  1. Install the script (I installed 3.1.0 via greasyfork [link])
  2. Go to a playlist on YouTube
  3. Look at the console
  4. See error

Expected behavior
It should run without error in Firefox.

Actual Behaviour
The script throws an error in Firefox.

Screenshots
N/A

Platform (please complete the following information):

  • Browser: Firefox v133.0.3
  • Version: 3.1.0
  • Scriptrunner: Tampermonkey
  • Scriptrunner version: 5.3.3

Additional context
N/A

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions