Post #2981944
2026-02-15 17:17 UTC
@blinry@chaos.social @nicolaschevobbe@mastodon.social while I've got your attention, do you know how to inject helper JS code (just some functions) into a document for the Console? I only know how to do it in a UserScript, which means it's not available from the Console.
Replies (1)
-
@nicolaschevobbe@mastodon.social 2026-02-16 07:42
@adamhotep@infosec.exchange @blinry@chaos.social we have this (old) bug on file for this: https://bugzilla.mozilla.org/show_bug.cgi?id=925593 (and https://bugzilla.mozilla.org/show_bug.cgi?id=1315549 looks a bit similar too) Could you tell me for which kind of things you'd use that for? In the meantime, we have some sort of workaround: using Ctrl + O (Cmd + O on Mac) will open a file picker, and if you "open" a file, that will set the input value to the content of the file, that you can then evaluate.