10 Useful FireFox Developer Tools You Should Know - Sulopa Solutions
21673
single,single-post,postid-21673,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-5.9,wpb-js-composer js-comp-ver-4.3.4,vc_responsive

10 Useful FireFox Developer Tools You Should Know

10 Useful FireFox Developer Tools You Should Know 3

24 Nov 10 Useful FireFox Developer Tools You Should Know

Firefox being “developer’s browser” has many great tools to help make our work easier. You can find more on its tool collection on the Firefox Developer Tools webpage and can also try their Developer Edition Browser which has more features and tools that are being tested.

For this post, I’ve listed 10 Useful FireFox Developer Tools You Should Know collection.

View Horizontal and Vertical Rulers: Firefox has a ruler tool that displays both horizontal and vertical rulers with pixel units on the page. The tool is useful for arranging your elements across the page.

To access rulers through the menu, go to: ☰ > Developer > Developer Toolbar(shortcut: Shift + F2). Once the toolbar appears at the bottom of the page, type rulers and press Enter.

To make this appear on the developer tools window, Go to “Toolbox Options”. Under the “Available Toolbox Buttons” section, check the “Toggle rulers for the page” checkbox.

10 Useful FireFox Developer Tools You Should Know 1

Take Screenshot Using CSS Selectors: Although the Firefox toolbar lets you take screenshots of the full page or visible portions, in my opinion the CSS selector method is more useful for capturing screenshots of individual elements as well as for elements that are visible on mouse-hover only (like menus).

To take screenshots through the menu, go to ☰ > Developer > Developer Toolbar (shortcutShift + F2). Once the toolbar appears at the bottom of the page, type screenshot –selector any_unique_css_selector and press enter.

To make this appear on the developer tools window: click “Toolbox Options” and under “Available Toolbox Buttons” section, check “Take a fullpage screenshot” checkbox.

 10 Useful FireFox Developer Tools You Should Know 2

Pick Color from Web Pages: Firefox has a built-in color picker tool by the name of “Eyedropper”. To access the “Eyedropper” tool through menu go to ☰ > Developer > Eyedropper.

To make this appear on the developer tools window: click “Toolbox Options” and under “Available Toolbox Buttons” section check “Grab a color from the page” checkbox.

10 Useful FireFox Developer Tools You Should Know 3

View page layout in 3D: Viewing webpages in 3D helps with layout problems. You’ll be able to see the different layered elements much more clearly in 3D view. To view the webpage in 3D, click the “3D View” tool button.

To make this appear on the developer tools window, click “Toolbox Options” and under “Available Toolbox Buttons” section check the”3D View” checkbox.

10 Useful FireFox Developer Tools You Should Know 4

View Browser Style: Browser Styles consist of two types: the default style a browser assigns for every element, and the browser-specific styles (the ones with the browser prefix). By taking a look at the browser styles you’ll be able to diagnose any override issues in your stylesheet and also come to know of any existing browser specific styles.

To access “Browser styles” through menu, go to ☰ > Developer > Inspector. Then click the “Computed” tab in the right section and check the “Browser styles” checkbox.

You can also open the “Inspector” tab through the shortcut Ctrl +Shift + Cand then accessing “Browser styles”.

 10 Useful FireFox Developer Tools You Should Know 5

Disable JavaScript for current session: For best practice and screen reader compatibility it is always advised to code any website in such a way that its functionality is not hindered in a javascript-disabled environment. To test for such environments, you can disable the JavaScript for the session you’re working in.

To disable JavaScript for current session click “Toolbox Options” and under “Advanced settings” section check the “Disable JavaScript*” checkbox.

10 Useful FireFox Developer Tools You Should Know 6

Hide CSS Style From the Page:  Just like JavaScript, due to accessibility concerns it is best to design websites in such a way that the pages should still be readable even without any styles. To see how the page looks without any style, you can disable them in the developer tools.

To remove any CSS style (inline, internal or external) applied on a webpage, justclick on the eye symbol of the listed stylesheets in the “Style Editor” tab. Click it again to revert to the original view.

To access “Style Editor” through menu go to ☰ > Developer > Style Editor(shortcut: Shift + F7.

 10 Useful FireFox Developer Tools You Should Know 7

Preview the HTML Content response to a request: Firefox developer tools has an option to preview the HTML content type responses. This helps the developer to preview any 302 redirects and check whether any sensitive information has been rendered or not in the response.

To access “Preview” through menu go to ☰ > Developer > Network (shortcut:Ctrl +Shift + Q. Then open the webpage of your choice or reload the current page, click on the desired request (with HTML response) from the list of requests and click the “Preview” tab in the right section.

 10 Useful FireFox Developer Tools You Should Know 8

Preview Webpage in different screen sizes: To test a webpage for its responsiveness use the “Responsive Design View”, which can be accessed by ☰ > Developer > Responsive Design View or with the shortcut: Ctrl +Shift + M.

To make the “Responsive Design Mode” tool button appear, click “Toolbox Options” and under the “Available Toolbox Buttons” section, check “Responsive Design Mode” checkbox.

 10 Useful FireFox Developer Tools You Should Know 9

Run JavaScript On Pages: For quick JavaScript executions on any webpage simply use the “Scratchpad” tool of Firefox. To access “Scratchpad” through the menu go to; ☰ > DeveloperScratchpad or use the keyboard shortcut Shift + F4.

To make the “Scratchpad” tool button appear on the developer tools window for quick use: click “Toolbox Options” and under the “Available Toolbox Buttons” section check the “Scratchpad” checkbox.

10 Useful FireFox Developer Tools You Should Know 10

Rekha T
rekha@sulopa.in
No Comments

Post A Comment