JSFiddle - React, Tailwind, and code Playground

by electronoob

JavaScript

var docHeight = $(document).height();

$("body").append("<div id='agariomodsoverlay'><span id='agariomods'>close this popup</span><br><h1>agariomods is currently turned off while we work to fix it.<br><h3>agar.io will be boring for a few days but we promise to be back as soon as possible. In the meantime see the competition information below!</h3><h2>Free giveaway competition</h2><h3>Startng now is the first competition for a chance to win an iPad Air, just need to follow us on twitter, <a href='http://bit.ly/1XJyyDd' target='_blank'>click here</a> for the information.</h3><br><a href='http://bit.ly/1XJyyDd' target='_blank'><img src='http://connect.agariomods.com/compo/compo.png' width='60%'></a><br></div>");

$("#agariomods").click(function(){
    $( "#agariomodsoverlay" ).toggle();
});
$("#agariomodsoverlay")
  .height(docHeight)
  .css({
    'opacity': 1,
    'position': 'absolute',
    'top': 0,
    'left': 0,
    'background-color': 'rgba(0,0,0,0.4)',
    'color':'white',
    'width': '100%',
    'z-index': 5000,
    'text-shadow': '1px 1px 3px rgba(0, 0, 0, 1)',
    'padding': '30px'
  });