Net Neutrality site "slowdown"

Events happening in the community are now at Drupal community events on www.drupal.org.
BruceDawson's picture

Has anyone created a module (or something) to support the "network slowdown" mentioned at https://www.battleforthenet.com/sept10th/ ?

It doesn't really slow the net down (or your site) - its just a "busy" banner "block" that indicates you're supporting the net neutrality movement.

--Bruce

Comments

Wondering the same thing..

VValdo's picture

Maybe I'll look into it.. seems the code needed is:

<script src="//widget.battleforthenet.com/widget.min.js" async></script>

So I added this to the template.php to the function called function myThemeName_preprocess_html() in /sites/all/themes/myThemeName :

drupal_add_js('https://widget.battleforthenet.com/widget.min.js', array('type' => 'external', 'async' => TRUE));

Even though async is specified, I don't see it "async" in the source, though I do see the script tags... Anyway, probably should wait to see what a real drupal dev thinks.

New Hampshire

Group categories

Regional Audience

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: