10

I can't find my userscript(s) in the Browser Debugger's Open file... box (with the name defined at // @name).

It seems that Annarfych's answer and Hjulle's answer to How to debug Greasemonkey script with the Firebug extension? do not work any more.

Because of Michael's findings to Greasemonkey script folder missing?

Apparently GreaseMonkey no longer stores the user scripts in gm_scripts for Firefox. [...] the scripts are apparently stored in an SQLite database file.

Community
  • 1
  • 1
Gerold Broser
  • 14,080
  • 5
  • 48
  • 107
  • The problem is even worse: even when you find a file using, say, XHR breakpoint and choose `Reveal in the tree` context item from tab header menu - nothing will show up in the source tree. – Ivan Samygin Jun 05 '23 at 20:00

1 Answers1

1

As there is no answer until now:

  • Open DevTools (F12) > Debugger
  • The userscripts for Tampermonkey are stored in the addon folder Tampermonkey > userscripts folder
  • For Greasemonkey the UserScripts are stored in the folder user-script:// > the namespace of the userscript > userscript name
CennoxX
  • 773
  • 1
  • 9
  • 20
  • In my FF 92.0.1's _Debugger_ → _Sources_ there is a _Main-Thread_ → _Tampermonkey_ folder with two files: `rea/common.js`, `content.js` and there is no _Greasemonkey_ folder at all. There are folders for other add-ons I have installed: _Native MathML_, _uMatrix_, etc. – Gerold Broser Oct 04 '21 at 20:41