21+ Browser Dev Tools & Tips You Need To Know

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 591

  • @jayanths1221
    @jayanths1221 Před 3 lety +819

    How is it humanly possible to fit this ocean of knowledge into a 9-minute video? We must protect Jeff at all costs!

  • @xq_nemesis
    @xq_nemesis Před 3 lety +185

    Never once have you wasted my time ❤️

  • @chadthunderfuckyeah
    @chadthunderfuckyeah Před 3 lety +338

    Thanks Jeff, I was just wondering how to trick my audience into thinking I made 12,000,000$ in two days!

  • @JoseAntonioParedesLeonwork
    @JoseAntonioParedesLeonwork Před 3 lety +292

    “To investigate why your code sucks in more detail” 😂😂😂

    • @CodeNight-dm2hv
      @CodeNight-dm2hv Před 3 lety +1

      lol 😂😂

    • @pyplacca
      @pyplacca Před 3 lety +3

      More like seeing why ur code sucks in HD😹

    • @michagabo8819
      @michagabo8819 Před 3 lety

      When things were at their very worst:
      2 Suns, Cross in the sky, 2 comets will collide = don`t be afraid - repent, accept Lord`s Hand of Mercy.
      Scientists will say it was a global illusion.
      Beaware - Jesus will never walk in flesh again.
      After WW3 - rise of the “ man of peace“ from the East = Antichrist - the most powerful, popular, charismatic and influential leader of all time. Many miracles will be attributed to him. He will imitate Jesus in every conceivable way.
      Don`t trust „pope“ Francis = the False Prophet
      - will seem to rise from the dead
      - will unite all Christian Churches and all Religions as one.
      One World Religion = the seat of the Antichrist.
      Benedict XVI is the last true pope - will be accused of a crime of which he is totally innocent.
      The Book of Truth

    • @DanielDaniel-xz2yp
      @DanielDaniel-xz2yp Před 3 lety

      Ouch

  • @lamka02sk
    @lamka02sk Před 3 lety +31

    Been programming for 7 years and just today I learned about design mode haha. Thanks!

  • @kolr2873
    @kolr2873 Před 3 lety +156

    This video is the "missing semester" for front end devs.

  • @sunimod1895
    @sunimod1895 Před 3 lety +28

    I'm so glad I stumbled on this channel, I just finished my first programming internship and I had essentially 0 web development experience beforehand, your videos helped me out a lot!

  • @samj6837
    @samj6837 Před 3 lety +100

    Here's a neat feature: in the networking tab, you can edit a request (say, to an API) and change its headers, contents, etc. and resend it. It's very handy if you just want to test minor changes :D

  • @gddeufedhfezr1224
    @gddeufedhfezr1224 Před 3 lety +177

    Click the select button in the Dev Tools, then hover over an element and see if the contrast is good.

    • @danielapjok4263
      @danielapjok4263 Před 3 lety +8

      Come here to say the same thing, except with the shortcut (ctrl + shift + c), which is also open up the inspector, so you don't have to beforehand.

    • @softwarelivre2389
      @softwarelivre2389 Před 3 lety +3

      Firefox has a builtin screenshot tool which is much easier to use right at the click of a button. Much easier to use than the Chromium one.

    • @softwarelivre2389
      @softwarelivre2389 Před 3 lety

      1:20

  • @MiguelReyesDeveloper
    @MiguelReyesDeveloper Před 3 lety +21

    Dev Tip: If you're using an Array or an Object, don't use console.log(), use instead console.table(). Thank me later.

  • @claasdev
    @claasdev Před 3 lety +35

    Pro tip: you also can use the sensors (5:49) to test your string localization for dates and currencies in different regions

  • @snansahmarov1524
    @snansahmarov1524 Před 3 lety +10

    One thing i want to mention here:
    Teaching something is not easy as looking from outside. It is hard to keep viewers, subscribers level. Sharing content for everyone( No matter beginner, intermediate. etc).
    But you do amazing things.
    Everyone can watch and joy from your videos. Lets up to 1 million. ⭐

  • @rishabhanand4270
    @rishabhanand4270 Před 3 lety +30

    (On CZcams) -> Open Dev Tools -> Switch Responsive Mode to iPad / Mobile -> Network Panel -> Reload to view the requests in Network Panel -> sort by Time -> click the "videoplayback" request and open in New tab -> Right Click video and download. Congrats, you downloaded a youtube video.

    • @whoman7930
      @whoman7930 Před 3 lety +2

      This doesn't work for me.

    • @Louisianish
      @Louisianish Před 3 lety

      That’s really cool, but I’ll just use my favorite free video downloader app. lol

    • @EliasJackson
      @EliasJackson Před 3 lety +2

      CZcams-dl

  • @creativity5155
    @creativity5155 Před 3 lety +24

    Using the throttle feature on the networking tab on most major websites, help detect redirection pages in websites; This is mostly helpful when pen testing offline apps.

  • @ivanb493
    @ivanb493 Před 3 lety +161

    Design mode?? That's fucking sick thanks Fireship

  • @gradientO
    @gradientO Před 3 lety +9

    I decided to learn Angular recently and found your Angular videos, good content you've got there

    • @Fireship
      @Fireship  Před 3 lety +11

      New Angular content is overdue on this channel

    • @zameerfouzan
      @zameerfouzan Před 3 lety +2

      @@Fireship attempting module federation with WP5 & angular 11. do you have any good pointers/materials for reference ?

  • @fahadus
    @fahadus Před 3 lety +18

    The CSS transition also has a UI panel for the timing function (easing) which is almost impossible to code by hand if you're doing anything more than the simple stuff.

  • @shinbones
    @shinbones Před 3 lety +9

    Another video let's go! May I know where you get your background music?

  • @anupamdahal7029
    @anupamdahal7029 Před 3 lety +5

    I have learnt a lot of new things that I have never worked with from your videos, like AWS, nginx, kubernetes, graphQL(and other dbs), typescript to name a few. One thing that I don't understand is how they work together. I would really love to see a video where you design a mock system using all of these (and possibly more) and explain each of their roles and why you chose it (kinda like your reverse-cloud migration video using raspberry pi).
    Whenever I think of a software architecture I think of them as several layers that interact with each other. However, I am unable to assign which layer what belongs to by watching a stand alone tutorial about a single tool.
    Btw, I am a college senior pursuing CS major and I love your content. Thanks for all the awesome contents.

  • @iznomau5
    @iznomau5 Před 3 lety +5

    I'm an automation engineer and this really helps me. Thanks dude

  • @JaLikon65
    @JaLikon65 Před 3 lety +2

    Freaking amazing video.
    One of my fav tips: In the network tab, if you right click on one of the HTTP Requests and hover over "Copy", you can actually copy the request as a cURL commands. So if you go run that cURL command in a terminal, cURL will send the exact same HTTP Request that your browser did. Super nifty, and there are other "Copy as" options too, such as fetch, Node.js fetch, etc etc

  • @poglord._
    @poglord._ Před 3 lety +9

    Amazing work dude. Love the content. Keep it coming

  • @philippefutureboy7348
    @philippefutureboy7348 Před 3 lety +4

    👏 Jeff thanks for your amazing content - this is hours of tutorials (and $$$) condensed in 9 minutes! You are a rare diamond!

  • @SantosEnoque
    @SantosEnoque Před 3 lety +3

    man, like how do you publish all of these awesome videos in such a short time, like how??? I'm a fan

  • @victorsaisse1340
    @victorsaisse1340 Před 3 lety +34

    Just grabed my popcorn

  • @vinos1629
    @vinos1629 Před 3 lety +6

    These are all some very useful tips that can save me a lot of time which i will never use bcs ill forget about them by the time i need them

  • @jugzster
    @jugzster Před 3 lety +1

    Every single one of these tips are valuable. You sir are a treasure to the dev community

  • @CodingPhase
    @CodingPhase Před 3 lety +1

    Damn bro the way you do videos is amazing just the first 15 seconds had me hooked

  • @jooblets
    @jooblets Před 3 lety +2

    - Edge has a bunch of VS Code themes for the devtools
    - If you keep pressing Cmd + Q (instead of Cmd + W) and end up closing your browser, you can enable "Warn before quitting" in settings
    - You can add tabs to a group and minimize them all at once. Tab organization becomes much easier

  • @malipetek
    @malipetek Před 3 lety +2

    When you go to settings, you can check under Preferences -> Elements -> Show user agent shadow DOM
    Then you can actually inspect pseudo elements like placeholder in the elements panel.

  • @ElioStalteri
    @ElioStalteri Před 3 lety +4

    I thought I knew the developer tool thoroughly, but you always manage to teach me something new ❤️

  • @robertholtz
    @robertholtz Před 2 lety +2

    Super useful high-density essential knowledge. Thank you!

  • @collins4359
    @collins4359 Před 3 lety +2

    I gotta give the award for condensing content to you man. nice work

  • @jp46614
    @jp46614 Před 3 lety +59

    "If i'm illegally scraping a website"
    lmao

    • @TheCameltotem
      @TheCameltotem Před 3 lety +3

      Scraping is seriously underrated. I've built a lot of websites based on other peoples data

    • @jp46614
      @jp46614 Před 3 lety

      @@TheCameltotem because of you laws like this exist to protect people from you

    • @TheCameltotem
      @TheCameltotem Před 3 lety

      @@jp46614 Its legal unless you abuse it ie bring down their site.

  • @_RafaelKr
    @_RafaelKr Před 3 lety +1

    Selecting an element in the elements panel and using the different "Break On" options can also be very helpful on figuring out how some things work!

  • @ruzzan
    @ruzzan Před 3 lety +12

    I am a simple person, I see Fireship's video I click it.

  • @stefandili2650
    @stefandili2650 Před 3 lety +4

    No matter if you're a pro developer using devtools constantly or a noob learning and practicing what you just learned in this video, you just might get bored of hitting f12 or ctrl+shift+J constantly to open up devtools.
    Right-click the icon of your chosen browser and open up properties. In the field called "target", which holds the path to the browser's launcher file, after the path in quotes add --auto-open-devtools-for-tabs.
    It should now look something like this:
    "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --auto-open-devtools-for-tabs
    All instances of the browser need to be closed before this change takes action (check your taskbar running apps).
    Voila, each new tab you open will be waiting for you with devtools open.

  • @tebogoseshibe4518
    @tebogoseshibe4518 Před 3 lety

    I've randomly stumbled across pretty much all these things while working, but having them all here in perfectly succinct and descriptive video is amazing.

  • @vanibron
    @vanibron Před 3 lety +1

    Things I learned for years squeezed in 9 minutes. Huge respect!

  • @KetanLambat
    @KetanLambat Před 3 lety +1

    The Sources tab is also a full-fledged debugger.
    We can put breakpoints, peek the current value of any variable by hovering, watch variables, etc.
    This feature is helping me so much with my Angular application.

  • @oskargierszewski5768
    @oskargierszewski5768 Před 3 lety +1

    My discovery of 2021 was "Emulate a focused page" in chrome devtools (you can get it from the [⌘]+[P] Command Menu, or Global Preferences). It's extremaly usefull when you try debugging an element that keeps disappearing when it loses focus once you start using devtools (in example dropdown list). Can't live without it since then

  • @dan6erbond
    @dan6erbond Před 3 lety +2

    Not sure how specific this is to the developer tooling in the browsers themselves, but the Quick Source Viewer extension and JSON Viewer in Chrome format raw source outputs as well as API responses which can be super handy!

  • @lethallad1433
    @lethallad1433 Před 3 lety +2

    When working with web workers you can use the application tab to see all working web workers. My other tip is you can edit local storage session storage and view cookies in the application tab. By far my favourite tab

  • @ischysyt
    @ischysyt Před 3 lety

    As new learner, your videos helps me a lot, so many times I see something that can ease one of my dev struggles that I didn't even know what to search for it's fix.

  • @diegovillafane6313
    @diegovillafane6313 Před rokem

    I like a lot how, after a few videos and deep diving into fireship's world, you simply start callim him Jeff, like you would call a friend that you know for a time now, thanks Jeff, you are awesome!

  • @ChristofferLund
    @ChristofferLund Před 3 lety +1

    So many brilliant tips! Thanks for taking the time to research what's available and making it easily accessible and consumable for us.

  • @robolist2277
    @robolist2277 Před 3 lety +2

    Best web dev channel

  • @harigalla1364
    @harigalla1364 Před 3 lety

    That Design mode feature is so sickk!! Never knew about that one

  • @delisk6177
    @delisk6177 Před 3 lety +1

    Breakpoints, as in a lot of IDEs, have an ability to be ran conditionally, or can be transformed to "Logpoints" to show a specific message (including variables and expressions). Just right-click a line to add them, or edit existing breakpoints to transform them.

  • @amiar7993
    @amiar7993 Před 3 lety

    I liked how we can grab the current element and manipulate it. Thank you, it's simple and straight to the point

  • @kai_bal
    @kai_bal Před 6 měsíci

    The example you used in the very beginning, directly exposing those scammers made me lol😂😂

  • @zzy13236
    @zzy13236 Před rokem

    Bro, you always push out the most condense yet informative content! Love your work man.

  • @onetdev
    @onetdev Před 3 lety +4

    Gosh, I've seen so many new awesome feature here, I feel motivated to work with web (again)

  • @herol3oy
    @herol3oy Před 3 lety

    My best favorite DevTools features:
    1) Right click on a DOM element and select `Store as a global variable`. Now you are in console and variable `temp1` is created. Now to get amount of DOM nodes type: `temp1.querySelectorAll('*').length`. This helps you to know about your app DOM nodes when you are running Lighthouse.
    2) Press `h` to hide/show DOM elements.
    3) Drag one DOM element and drop in somewhere else up or down.
    4) `Ctrl + z` always can be helpful when you are manipulating around DevTools.
    5) Press `Ctrl + Shift + D` to change the position of DevTools vertically and horizontally.
    6) `Ctrl + [` and `Ctrl + ]` to navigate between tabs in DevTools.
    7) On a password input which the password is displaying as dots, right click and inspect element. Then change the type attribute from password to text. Here it is your password visible.

  • @Dr3amDisturb3r
    @Dr3amDisturb3r Před 3 lety +1

    To make source files changes persist through page refresh, use local overrides. It helped me a lot when I was dealing with an external (other team's) module connected to mine with a web socket. I needed to force some state and modify some function definitions in order to test my module's changes and see how they behaved over the socket. It was really helpful to make changes to their module on my own, instead of bothering the other team and asking them to deploy on the testing environments, just so I can experiment with my solutions. Really good stuff!

    • @caiyuhui
      @caiyuhui Před 2 lety

      It becomes really slow when reload the page swithing to local overrides. Dnt know why

  • @trantanloc4451
    @trantanloc4451 Před 3 lety +2

    For responsive design, you’re missing something:
    1/ You can change the type of devices (desktop, mobile, mobile non-touch,…). Useful for working with :hover (on mobile with touch, people usually don’t hover)
    2/ You can change the DPR of the screen (useful when you have responsive imgs for different screen like Retina or that kind of thing)
    On Firefox they are enabled by default (I guess) but you can enable it in the three dot button (Add device pixel ratio and Add device type)

  • @bas_kar_na_yar
    @bas_kar_na_yar Před 3 lety +2

    The application tab is very useful if you are making a PWA. The manifest section can show you detailed info about your manifest, including previews of your logo (How it will appear once your PWA is installed in mobile devices of different sizes).

  • @brod515
    @brod515 Před 3 lety +6

    Ctrl Shift C to quickly click an element you want to inspect
    without having to open the dev tools first.

  • @domie2372
    @domie2372 Před 3 lety +2

    pro tip: firefox has a developer edition with more tools! :D

  • @SirusStarTV
    @SirusStarTV Před 3 lety

    There's channels out there that you don't really want to subscribe, but this channel is another thing

  • @DerekHoltzman
    @DerekHoltzman Před 3 lety +1

    My tip - in the Rendering tab you also have the option of emulating vision deficiencies. Just one more tool in your belt to make your website accessible to as many people as possible!

  • @djsnooppyzatdepoet7568

    The music and the video audio go so well.

  • @raghav.bhardwaj
    @raghav.bhardwaj Před 3 lety +1

    My Pro Tip: For checking responsiveness of a web page, you can use Device toggle, but if you want to see how a page will look on specific device, you can add new Device by clicking on settings icon ( top right side of dev toolbar ) and select Devices from the list and clicking add custom device.
    You can also add simulated locations from Settings > Locations.
    Another Pro Tip: if you want to use Dark Theme Dev toolbar with light theme chrome or Vice versa, you can do that by going to Settings > Preferences > Appearance > Theme.

  • @comradered8125
    @comradered8125 Před 3 lety +3

    first, Awesome Video though as always.
    Suggestion:
    C/C++ in 100 seconds

  • @mun3673
    @mun3673 Před 3 lety

    Jeff is a gem. We have to protect him

  • @ecs1611
    @ecs1611 Před 3 lety

    No matter how skilled I am at a subject, I always learn something new from your videos.

  • @tevinmorake8924
    @tevinmorake8924 Před 2 lety

    I had an issue that I wouldn't have noticed if it wasn't for this video. Thanks Jeff!

  • @hipunpun
    @hipunpun Před 2 lety +1

    My god, actually insanely useful and impressive - thank you so much! ❤

  • @arshadpakkali
    @arshadpakkali Před 3 lety

    Jeff do some stuff for the boring Backend like Queueing (Message Queues) in 100 secs and more !!
    Addicted to those

  • @u_ori
    @u_ori Před 3 lety

    Open elements in dev tools find a image or whatever link click it than you can download it if the website doesn’t let you. Very useful

  • @ghostbackwards1114
    @ghostbackwards1114 Před 3 lety

    In the network filter, you can filter by request method by using -method:GET -method:OPTIONS -method:PUT. Easy way to find areas in a complex webapp where data is submitted without knowing what the routes actually are.

  • @csangale
    @csangale Před 3 lety

    Pro Tip:
    1.Add crome extension to dev tools bar: Vue Telescope, Vue.js devtools -> for vue; GraphQL Network, Clockwork for laravel, Save All Resources to download entire website.
    2. Brave browser can block request coming from google analytics, which help while developing live site and testing website integrated with analytics. (for one who test website more than 100 times and google analytics track that request, you can also block ip but using brave is my choice).

  • @radone168
    @radone168 Před 3 lety

    I really love the style in which you cover topics. The animations, storytelling, and flow are all awesome. Would you please make a video on Snowflake? It is quite a rage these days.

  • @brucewayne2480
    @brucewayne2480 Před 3 lety

    By usint puppeteer you can intercept requests and modify each file before being loaded in the browser. You can for example save in a file each request made by an application

  • @sairambalu4585
    @sairambalu4585 Před 3 lety

    In network tab you can preset the network conditions to so that you can know the performance of your website at less bandwidth

  • @jestix9662
    @jestix9662 Před 3 lety

    Thanks for not stretching this and push as much info as possible in just 9 mins

  • @eoussama
    @eoussama Před 3 lety +2

    Would be nice to see a video on tracing, identifying, and fixing a memory leak on a sample angular application.

    • @Fireship
      @Fireship  Před 3 lety +3

      Angular recently released a new browser extension, I'll cover it eventually.

    • @eoussama
      @eoussama Před 3 lety +1

      @@Fireship awesome, thanks for the work you put in Jeff, it never goes unnoticed, you're an inspiration, a hero, a role model.
      Stay safe bud.

  • @cubeofcheese5574
    @cubeofcheese5574 Před 3 lety

    In Firefox you can take a screen shot of the while page or an element from the right click menu. Super useful for pull request descriptions!

  • @jamiewilliams8519
    @jamiewilliams8519 Před 2 lety

    My mind is blown!! Thank you for making this super detailed video!! Awesome job!!

  • @alexpopov5971
    @alexpopov5971 Před 3 lety

    I learnt a lot just like from any other of your videos. Here are my tips: if you make a bookmark with the url starting with 'javascript:', the rest of the url will be executed(google doesn't allow it, so test it on another page), also webflow offers an incredibly handful html/css editor - you basicaly make the website without writing tedious html and css code

  • @ratajs
    @ratajs Před 3 lety +2

    You can also use the developer tools to inspect websites on connected Android devices with USB debugging enabled or Node.js programs. In Chrome, it’s located at chrome://inspect.

  • @skyfistoflight
    @skyfistoflight Před 3 lety +1

    Most tech videos I watch at 1.5-2x speed. This is the first one that I felt like I needed half speed.

  • @1998Hagis
    @1998Hagis Před 3 lety

    If you forgot the password on some website but chrome fullfill the input, you can quick preview the value. Just use the "inspect element" function with Ctrl+Shift+C and click on password input element. Then type "$0.value" into DevTools's console and voilà!
    Alternative, instead of the "inspect" function, you can right click on password input and click the last option - "inspect".

  • @sooslokosvivem
    @sooslokosvivem Před 3 lety +4

    1:01 omg I laughed loudly

  • @GuRuGeorge03
    @GuRuGeorge03 Před 3 lety

    I am so glad to have good senior developers in my team that I learned most of these things from. The other tips they probably don't even know lol

  • @osraneslipy
    @osraneslipy Před rokem

    I am putting this one into bookmarks. Awesome video

  • @nathanaell
    @nathanaell Před 3 lety

    When he started talking about Brave in the end I almost screamed! I've been using it for a little more than a year and can NEVER switch back to chrome!

  • @me_rinta
    @me_rinta Před 3 lety

    Getting excited for a Fireship video every time 👋🏻
    Awesome stuff 🔥

  • @sunitshirke
    @sunitshirke Před 3 lety

    +rep For the Brave suggestion segment👏

  • @MisterBlex
    @MisterBlex Před 3 lety

    ctrl + shift + c is the quickest way to select an element on the page and see it's html and css, can't live without that shortcut :D

  • @itskyledavid2826
    @itskyledavid2826 Před 3 lety

    This video is pure gold

  • @techwithshudarsan559
    @techwithshudarsan559 Před 3 lety +1

    That was amazing. And how to make Progressive Web Apps?

  • @markilabot14
    @markilabot14 Před 3 lety

    You can assign the playback speed using playbackRate eg. "document.querySelector("video").playbackRate = 2.7";

  • @mabroorahmad2182
    @mabroorahmad2182 Před 3 lety +5

    These days browsers are more complex then a whole operating system

    • @0jinx
      @0jinx Před 3 lety

      It's actually already being used as an operating system (i.e. Chromebooks) or you can load an OS in your browser

  • @pukshu
    @pukshu Před 3 lety +1

    What a banger of a vid, thanks for the knowledge!

  • @prkkarki8942
    @prkkarki8942 Před 3 lety

    I look forward to every video and it doesn't disappoint me at all. Thank you.

  • @nate1988
    @nate1988 Před 3 lety

    How have I lived this long without knowing about design mode? I've been manually editing HTML tags if I want to mess around with a site but damn, that's much easier.

  • @hemanth6951
    @hemanth6951 Před 3 lety +2

    With out subscription your video always on top in my youtube

  • @kopilkaiser8991
    @kopilkaiser8991 Před měsícem

    You did absolutely a great tutorial thank you! 😂 i found it funny at the same time helpful and informative. 🤪🤣

  • @EdonPalenchargaming
    @EdonPalenchargaming Před 3 lety

    I love using the file explore in chrome to navigate