Skip to content

Instantly share code, notes, and snippets.

@gbonanome
Last active June 21, 2016 11:55
Show Gist options
  • Save gbonanome/126efe9d25a1a34b76f0 to your computer and use it in GitHub Desktop.
Save gbonanome/126efe9d25a1a34b76f0 to your computer and use it in GitHub Desktop.
Firefox devtools responsive mode presets
[
{"key": "320x480", "name": "Apple iPhone 3GS", "width": 320, "height": 480},
{"key": "320x480", "name": "Apple iPhone 4", "width": 320, "height": 480},
{"key": "320x568", "name": "Apple iPhone 5", "width": 320, "height": 568},
{"key": "375x667", "name": "Apple iPhone 6", "width": 375, "height": 667},
{"key": "414x736", "name": "Apple iPhone 6 Plus", "width": 414, "height": 736},
{"key": "384x640", "name": "BlackBerry Z10", "width": 384, "height": 640},
{"key": "360x640", "name": "BlackBerry Z30", "width": 360, "height": 640},
{"key": "384x640", "name": "Google Nexus 4", "width": 384, "height": 640},
{"key": "360x640", "name": "Google Nexus 5", "width": 360, "height": 640},
{"key": "320x533", "name": "Google Nexus S", "width": 320, "height": 533},
{"key": "320x533", "name": "HTC Evo, Touch HD, Desire HD, Desire", "width": 320, "height": 533},
{"key": "360x640", "name": "HTC One X, EVO LTE", "width": 360, "height": 640},
{"key": "360x640", "name": "HTC Sensation, Evo 3D", "width": 360, "height": 640},
{"key": "320x533", "name": "LG Optimus 2X, Optimus 3D, Optimus Black", "width": 320, "height": 533},
{"key": "384x640", "name": "LG Optimus G", "width": 384, "height": 640},
{"key": "424x753", "name": "LG Optimus LTE, Optimus 4X HD", "width": 424, "height": 753},
{"key": "213x320", "name": "LG Optimus One", "width": 213, "height": 320},
{"key": "320x569", "name": "Motorola Defy, Droid, Droid X, Milestone", "width": 320, "height": 569},
{"key": "540x960", "name": "Motorola Droid 3, Droid 4, Droid Razr, Atrix 4G, Atrix 2", "width": 540, "height": 960},
{"key": "720x1280", "name": "Motorola Droid Razr HD", "width": 720, "height": 1280},
{"key": "360x640", "name": "Nokia C5, C6, C7, N97, N8, X7", "width": 360, "height": 640},
{"key": "320x533", "name": "Nokia Lumia 7X0, Lumia 8XX, Lumia 900, N800, N810, N900", "width": 320, "height": 533},
{"key": "360x640", "name": "Samsung Galaxy Note 3", "width": 360, "height": 640},
{"key": "360x640", "name": "Samsung Galaxy Note II", "width": 360, "height": 640},
{"key": "400x640", "name": "Samsung Galaxy Note", "width": 400, "height": 640},
{"key": "360x640", "name": "Samsung Galaxy S III, Galaxy Nexus", "width": 360, "height": 640},
{"key": "320x533", "name": "Samsung Galaxy S, S II, W", "width": 320, "height": 533},
{"key": "360x640", "name": "Samsung Galaxy S4", "width": 360, "height": 640},
{"key": "360x640", "name": "Sony Xperia S, Ion", "width": 360, "height": 640},
{"key": "480x854", "name": "Sony Xperia Sola, U", "width": 480, "height": 854},
{"key": "360x640", "name": "Sony Xperia Z, Z1", "width": 360, "height": 640},
{"key": "1920x1200", "name": "Amazon Kindle Fire HDX 7″", "width": 1920, "height": 1200},
{"key": "2560x1600", "name": "Amazon Kindle Fire HDX 8.9″", "width": 2560, "height": 1600},
{"key": "1024x600", "name": "Amazon Kindle Fire (First Generation)", "width": 1024, "height": 600},
{"key": "1024x768", "name": "Apple iPad 1 / 2 / iPad Mini", "width": 1024, "height": 768},
{"key": "1024x768", "name": "Apple iPad 3 / 4", "width": 1024, "height": 768},
{"key": "1024x600", "name": "BlackBerry PlayBook", "width": 1024, "height": 600},
{"key": "1280x800", "name": "Google Nexus 10", "width": 1280, "height": 800},
{"key": "960x600", "name": "Google Nexus 7 2", "width": 960, "height": 600},
{"key": "966x604", "name": "Google Nexus 7", "width": 966, "height": 604},
{"key": "1280x800", "name": "Motorola Xoom, Xyboard", "width": 1280, "height": 800},
{"key": "1280x800", "name": "Samsung Galaxy Tab 7.7, 8.9, 10.1", "width": 1280, "height": 800},
{"key": "1024x600", "name": "Samsung Galaxy Tab", "width": 1024, "height": 600},
{"key": "1280x950", "name": "Notebook with touch", "width": 1280, "height": 950},
{"key": "1440x900", "name": "Notebook with HiDPI screen", "width": 1440, "height": 900},
{"key": "1280x800", "name": "Generic notebook", "width": 1280, "height": 800}
]
@gbonanome
Copy link
Author

What is this?

A list of presets to use in Firefox dev tools Responsive Mode (Ctrl+Shift+M or ⌥+⌘+M).
This method is discussed on the mozilla support forum and you can find a lot of other lists online.

How to use it

Go to about:config with firefox. Search for the devtools.responsiveUI.presets preference. If doesn't exist, create it.
In the value field copy&paste the above list.

Credits

This list was taken from Chromium OverridesUI.js file (so the order is not alphabetical but phone, tablet, notebook).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment