Skip to content

Instantly share code, notes, and snippets.

@lonnen
Created March 19, 2013 18:17
Show Gist options
  • Save lonnen/5198648 to your computer and use it in GitHub Desktop.
Save lonnen/5198648 to your computer and use it in GitHub Desktop.
Execute in a console to run the modal version of the Internet Defense League script on the page.
(function(){
window._idl = {};
_idl.variant = "modal";
(function() {
var idl = document.createElement('script');
idl.type = 'text/javascript';
idl.async = true;
idl.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'members.internetdefenseleague.org/include/?url=' + (_idl.url || '') + '&campaign=' + (_idl.campaign || '') + '&variant=' + (_idl.variant || 'banner');
document.getElementsByTagName('body')[0].appendChild(idl);
})()
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment