Hacker News new | ask | show | jobs
by westurner 634 days ago
DevTools has a list of default viewport sizes, but they change from browser release to release. Is there a better way or an existing [YAML] file schema to generate a list of viewport configurations to import into DevTools?
1 comments

We looked into this, and we couldn't find a way to do so, but we've open sourced the data (here: https://github.com/bitcomplete/labs-delta-viewport-tester-vi...) so if you are able to find a way to do so, that could be a great option.
Hey thanks! https://github.com/bitcomplete/labs-delta-viewport-tester-vi...

Use case: add which few of these to DevTools. IDK if there's a YAML parser in DevTools already, otherwise JSON + jq should work somehow

awesome-chrome-devtools: https://github.com/paulirish/awesome-chrome-devtools

Thanks for sharing this @westurner