This is a small JavaScript snippet that behaves similarly to the SOPA/PIPA snippets and plugins from a few years ago.
Basically, this piece of code will blackout your website on November 5th, 2015 (Guy Fawkes day) between 8am and 8pm local time and instead, show your website's visitors a message about why it's important to support H.R.2058 and how to go about doing so.
To briefly explain why this matters, supporting this bill would change the grandfather date for "deemed tobacco products". This makes it possible for all of the vapor products currently on the market, to stay on the market. Without this change, the vape industry as we know it will be decimated.
Contributors: aleksblago
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Installing this plugin is super easy and has no admin settings at all. The plugin will show your website visitors the H.R.2058 redirect and message only on November 5, 2015 between the hours of 8am and 8pm local time.
Add the following script anywhere on your website:
<script type="text/javascript" src="https://shop.thevapekit.com/wp-content/themes/thevapekit/code/support-hr2058.min.js"></script>
Nothing. This plugin will only redirect users between 8am and 8pm on November 5th, 2015. There is nothing to setup or change. The plugin will do everything for you.
Visit https://shop.thevapekit.com/support/example-page
Sorry, you can't change the layout using the JavaScript version.
https://shop.thevapekit.com/support/example-page
We have also created a WordPress plugin you can use to install this blackout code. You can download and install the code from here: https://wordpress.org/plugins/save-vapor-products/
1.0 (2015/10/29) - Inital release