How to get Firefox's current user agent from a script? byAuthor •October 18, 2023 You can obtain Firefox's current user agent from a script using various methods. Here's one common approach using a JavaScript snippet in the browser's developer console: 1. Open Firefox. 2. Press `Ctrl+Shift+I` or `Cmd+Option+I` (on macO…