Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Brite)
  • No Skin
Collapse
A microphone in front of an orange-yellow circle. Graphic.

Podcasting Chat Community

  1. Home
  2. World
  3. Here's a thread of cool things I found exploring the #Firefox Developer Tools!

Here's a thread of cool things I found exploring the #Firefox Developer Tools!

Scheduled Pinned Locked Moved World
firefoxniriwebdevdevtools
20 Posts 4 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • blinryB blinry

    In the Inspector, Ctrl+F jumps to the search box that allows you to find a tag or some content.

    I was always annoyed that F3 doesn't go to the next result. Turns out that the shortcut for that is:

    Enter!

    Link Preview Image
    GreenSkyOverMe (Monika)G This user is from outside of this forum
    GreenSkyOverMe (Monika)G This user is from outside of this forum
    GreenSkyOverMe (Monika)
    wrote last edited by
    #11

    @blinry Not very intuitive

    1 Reply Last reply
    0
    • blinryB blinry

      In the Inspector, Ctrl+F jumps to the search box that allows you to find a tag or some content.

      I was always annoyed that F3 doesn't go to the next result. Turns out that the shortcut for that is:

      Enter!

      Link Preview Image
      blinryB This user is from outside of this forum
      blinryB This user is from outside of this forum
      blinry
      wrote last edited by
      #12

      As you start modifying the CSS rules, and arrive at something you like, you can switch over to the "Changes" tab to find a summary of what you changed!

      You can also copy all of that into your clipboard, and then integrate it into the original CSS that you're working on!

      Until now, I always made changes in my source CSS files directly, and used some auto-refresh tool to preview it. But this workflow of modifying it directly, and copying out the required changes might be a bit smoother!

      Link Preview Image
      blinryB 1 Reply Last reply
      0
      • blinryB blinry

        As you start modifying the CSS rules, and arrive at something you like, you can switch over to the "Changes" tab to find a summary of what you changed!

        You can also copy all of that into your clipboard, and then integrate it into the original CSS that you're working on!

        Until now, I always made changes in my source CSS files directly, and used some auto-refresh tool to preview it. But this workflow of modifying it directly, and copying out the required changes might be a bit smoother!

        Link Preview Image
        blinryB This user is from outside of this forum
        blinryB This user is from outside of this forum
        blinry
        wrote last edited by
        #13

        Next, I looked at the Console.

        I learned that it has some predefined helper functions! You can use `$(selector)` as an abbreviation for `document.querySelector(selector)`.

        Similarly, `$$(selector)` is short for `document.querySelectorAll(selector)`!

        Even though this reeks of jQuery, I think these are fantastic in this context and I might use them *a lot*!

        Link Preview Image
        blinryB Adam KatzA 2 Replies Last reply
        0
        • blinryB blinry

          Next, I looked at the Console.

          I learned that it has some predefined helper functions! You can use `$(selector)` as an abbreviation for `document.querySelector(selector)`.

          Similarly, `$$(selector)` is short for `document.querySelectorAll(selector)`!

          Even though this reeks of jQuery, I think these are fantastic in this context and I might use them *a lot*!

          Link Preview Image
          blinryB This user is from outside of this forum
          blinryB This user is from outside of this forum
          blinry
          wrote last edited by
          #14

          There are more "Console Helpers" in #firefox:

          $_ is a shortcut to the result of the last expression you executed, allowing you to do some neat step-by-step exploration.

          And $0 refers to the currently-inspected element on the page.

          Link Preview Image
          blinryB 1 Reply Last reply
          0
          • blinryB blinry

            There are more "Console Helpers" in #firefox:

            $_ is a shortcut to the result of the last expression you executed, allowing you to do some neat step-by-step exploration.

            And $0 refers to the currently-inspected element on the page.

            Link Preview Image
            blinryB This user is from outside of this forum
            blinryB This user is from outside of this forum
            blinry
            wrote last edited by
            #15

            There's a couple more, like copy(), which copies its argument to your clipboard, or keys(), an abbreviation for Object.keys().

            If you ever forget these console helpers, you can run :help to open the page of the documentation that explains them!

            Link Preview Image
            Web Console Helpers — Firefox Source Docs documentation

            favicon

            (firefox-source-docs.mozilla.org)

            Link Preview Image
            blinryB 1 Reply Last reply
            0
            • blinryB blinry

              There's a couple more, like copy(), which copies its argument to your clipboard, or keys(), an abbreviation for Object.keys().

              If you ever forget these console helpers, you can run :help to open the page of the documentation that explains them!

              Link Preview Image
              Web Console Helpers — Firefox Source Docs documentation

              favicon

              (firefox-source-docs.mozilla.org)

              Link Preview Image
              blinryB This user is from outside of this forum
              blinryB This user is from outside of this forum
              blinry
              wrote last edited by
              #16

              There's a built-in multi-line editing mode! Press Ctrl+B to turn it on. Seems useful to write longer expressions.

              This mode shares its history with the regular one-line mode.

              Link Preview Image
              blinryB 1 Reply Last reply
              0
              • blinryB blinry

                There's a built-in multi-line editing mode! Press Ctrl+B to turn it on. Seems useful to write longer expressions.

                This mode shares its history with the regular one-line mode.

                Link Preview Image
                blinryB This user is from outside of this forum
                blinryB This user is from outside of this forum
                blinry
                wrote last edited by
                #17

                But also, I learned that the one-line mode tries to guess whether your command is incomplete when you press Enter, and then allows you to type a second line.

                You can force a new line using Shift+Enter.

                Link Preview Image
                blinryB 1 Reply Last reply
                0
                • blinryB blinry

                  But also, I learned that the one-line mode tries to guess whether your command is incomplete when you press Enter, and then allows you to type a second line.

                  You can force a new line using Shift+Enter.

                  Link Preview Image
                  blinryB This user is from outside of this forum
                  blinryB This user is from outside of this forum
                  blinry
                  wrote last edited by
                  #18

                  That's all cool things I found in the Firefox DevTools today! Looking forward to check out the other tabs some other time.

                  It's kind of eye-opening for me how many convenient things a tool like that has. So far, when I opened the Toolbox, I usually quickly wanted to get something specific done, and didn't take the time to wander & explore…

                  What are your favorite built-in dev tools in Firefox? What did I miss in "Inspector" and "Console" today?

                  blinryB 1 Reply Last reply
                  0
                  • blinryB blinry

                    Next, I looked at the Console.

                    I learned that it has some predefined helper functions! You can use `$(selector)` as an abbreviation for `document.querySelector(selector)`.

                    Similarly, `$$(selector)` is short for `document.querySelectorAll(selector)`!

                    Even though this reeks of jQuery, I think these are fantastic in this context and I might use them *a lot*!

                    Link Preview Image
                    Adam KatzA This user is from outside of this forum
                    Adam KatzA This user is from outside of this forum
                    Adam Katz
                    wrote last edited by
                    #19

                    @blinry what is the difference between $$(…) and $$$(…)? I didn't know about $$(…)

                    1 Reply Last reply
                    0
                    • blinryB blinry

                      That's all cool things I found in the Firefox DevTools today! Looking forward to check out the other tabs some other time.

                      It's kind of eye-opening for me how many convenient things a tool like that has. So far, when I opened the Toolbox, I usually quickly wanted to get something specific done, and didn't take the time to wander & explore…

                      What are your favorite built-in dev tools in Firefox? What did I miss in "Inspector" and "Console" today?

                      blinryB This user is from outside of this forum
                      blinryB This user is from outside of this forum
                      blinry
                      wrote last edited by
                      #20

                      Ohh, the CSS pane helps you debug values of the "transform" property by showing you the box before and after the transformation!

                      Link Preview Image
                      1 Reply Last reply
                      0
                      • Seth of the FediverseP Seth of the Fediverse shared this topic

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Welcome To Podcasting.Chat!

                      This forum is for podcasters, podcast guests, and podcast enthusiasts alike to share tips, tricks, and their love of the medium.

                      This forum is fully federated, so you are able to contribute to any discussion here through your own software of choice (e.g. Mastodon, Misskey, Lemmy, Piefed, etc.). So you can sign up for an account here and it federates around the Fediverse. You can also follow feeds and topics from your other Fedi-enabled accounts.





                      Recent Posts


                      • Chery (Great Australian Pods)C
                        Chery (Great Australian Pods)

                        Do not eat: Milo snack bars recalled nationwide

                        #PSA #Recall #MiloBars #Australia

                        Just a moment...

                        favicon

                        (www.thenewdaily.com.au)

                        read more

                      • UKU
                        UK

                        https://www.europesays.com/uk/767540/ Households and the Reserve Bank’s official cash rate decision #audio #Business #CurrentAffairs #Economy #News #Podcasts #PublicRadio #RadioNewZealand #RNZ #UK #UnitedKingdom

                        Link Preview Image
                        read more

                      • David HooperD
                        David Hooper

                        The final proofread has begun ...

                        Link Preview Image
                        read more

                      • Martin LindeskogL
                        Martin Lindeskog

                        @phillycodehound @julian I have now updated my profile page.

                        I am interested in being a moderator in the future. I was a moderator for BizSugar (part of Small Business Trends) for almost 20 years.

                        read more

                      Hosted On NodeBB.org -- A Goldstein Media Project
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups