Git Product home page Git Product logo

nn-blackout's Introduction

NN-blackout

Purposefully slows loading of webpages to simulate what the internet would look like without Net Neutrality.

This script will only become active on the day of the blackout (if and when it's scheduled) and on that day it will make webpages look like they are loading really slowly and possibly "break" other things; then after a few seconds a modal will pop saying "This is what the internet would look like without net neutrality... Tell the FCC that you support net neutrality". Clicking anywhere on the screen when the modal is shown will close the message and allow normal operation of the site.

The idea is that a ton of individual website owners would be able to just pop this script on their site to "opt-in" to a massive blackout of the web on a specific day. If they ever wanted to "opt-out" (say after we've won the internet back, or if they are concerned that it would go down on important days) they would just need to remove the call to this script.

To see a live demo of the script in action visit http://novanetllc.org/example/

Ideas for "breaking websites":

  • slow loading of all assets
  • reduce image resolutions?
  • break other parts??

https://www.reddit.com/r/technology/comments/6bytpx/sopa_pipa_cispa_acta_tpp_itu_cispa_again_tafta_we/dhqybzv/

Installation

Simply copy/paste this script into any page(s) of your website to "opt-in"

<script src="https://rawgit.com/panxzz/NN-blackout/master/blackout.js"></script>

By leaving this script on your site you are already covered, your site will "break" then display the modal message on the specified blackout date.

To test what your site will look like you can use this script:

<script src="https://rawgit.com/panxzz/NN-blackout/master/blackout-test.js"></script>

This script will not check for the blackout and act like the blackout is always active.

nn-blackout's People

Contributors

panxzz avatar jpmcb 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.