Location: site_wide_header
Google Adsense and UniConsent Code
Censor Site
//censor window.addEventListener(‘DOMContentLoaded’, function() { if(document.body.classList.contains(‘adult-content’)) { censorText(); } }); function censorText() { // Find the element by its class const element = document.querySelector(‘.content-blocked.login-required’); // Check if the element exists and contains the target text if (element && element.innerHTML.includes(‘Subscriber’)) { element.innerHTML…Continue reading
GTAG Author Tracking
eaglegame
const canvas = document.getElementById(‘game-canvas’); const ctx = canvas.getContext(‘2d’); class Character { constructor(name, x, y, width, height, color, level, hp, attack, xp) { this.name = name; this.x = x; this.y = y; this.width = width; this.height = height; this.color = color;…Continue reading
Mad lib 2
.frm_form_field { font-size: 20px !important; line-height: 40px; } select { box-shadow: none !important; border-bottom: 2px dashed #eaeaea !important; border-radius: 0 !important; font-size: 20px !important; line-height: 40px !important; background-color: transparent; } .frm_madlib .frm_section_heading { display: flex !important; flex-wrap: wrap; align-items: flex-end;…Continue reading
Yellow Highlight
Yellow Highlight
Tag Bubble
.speech-bubble { position: relative; background: #00aabb; border-radius: .4em; } .speech-bubble:after { content: ”; position: absolute; left: 0; top: 50%; width: 0; height: 0; border: 2px solid transparent; border-right-color: #00aabb; border-left: 0; margin-top: -2px; margin-left: -2px; }Continue reading
CSS for Bootstrap modal
Open Modal × Modal Header Some text in the modal. CloseContinue reading