Skip to content

Simple Userscript for testing static websites "offline", that is, without using server or port.

License

Notifications You must be signed in to change notification settings

jeremyredhead/offline-website-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Offline Website Tester

Simple Userscript for testing static websites "offline" without setting up a server or port.

Usage

This is a userscript, which runs in-browser and requires a userscript manager such as Greasemonkey or Tampermonkey.
It currently supports "re-wiring" links and css resources, and re-directing folders to index.html for one folder.
To use it, change the example url as instructed: file:///path to folder on disk/* and then allow file:/// urls for your userscript manager. Voila! You're done.

Todo

  • Load scripts after re-wiring
  • Iterate through url-based css rules and fix
  • Support multiple folders at once

About

Simple Userscript for testing static websites "offline", that is, without using server or port.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published