GithubHelp home page GithubHelp logo

developers81828182 / airplane-mode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crstauf/airplane-mode

0.0 1.0 0.0 264 KB

Disables external data calls and loading for working on a purely local (i.e. no internet connection) WordPress site

License: MIT License

PHP 96.03% CSS 3.97%

airplane-mode's Introduction

Airplane Mode

Contributors

About

Control loading of external files when developing locally. WP loads certain external files (fonts, Gravatar, etc.) and makes external HTTP calls. This isn't usually an issue, unless you're working in an evironment without a web connection. This plugin removes/unhooks those actions to reduce load time and avoid errors due to missing files.

Current Actions

  • removes external JS and CSS files from loading
  • replaces all instances of Gravatar with a local image to remove external call
  • removes all HTTP requests
  • disables all WP update checks for core, languages, themes, and plugins
  • includes toggle in admin bar for quick enable / disable

Changelog

See CHANGES.md.

Notes

If you need offline activation, see this script written by Brian DiChiara

Roadmap

  • fine tune HTTP request removal
  • find other calls from core
  • add other requests from popular plugins

Pull requests are very much welcome and encouraged.

airplane-mode's People

Contributors

norcross avatar johnbillion avatar afragen avatar chriscct7 avatar barryceelen avatar markjaquith avatar lucatume avatar onnimonni avatar georgestephanis avatar kopepasah avatar michaelbeil avatar morganestes avatar grappler avatar szepeviktor avatar westonruter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.