Skip to content

jobwat/responsive-refresh-userscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

Responsive refresh userscript

A userscript to assist you in your responsive devs

Why

Our latest responsive site is partially responsive from the server side rendering.

This script automatically refresh the page with the proper device format, as you resize the page.

Install

As chrome is slightly painful (they probably got good concerns), you can't install a userscript directly... see http://userscripts.org/about/installing

The trick is too install the Tampermonkey extension, and then load the script: https://github.com/jobwat/responsive-refresh-userscript/raw/master/responsive-refresh.user.js

TODO

Innovate in a dynamic triggering mechanism to enable this userscript on some conditions only (url is not enough in dev mode..)

Note

I've started the same project as a Chrome Extension first but couldn't get the viewport dimensions, only the window ones.

Licence

MIT

About

A UserSript to help you work on your responsive page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published