eternal september banner
Main Page | Bulletin Board | About | Label | Listserv



Random Article


11B-X-1371 | 2001 | 23-enigma | ARPANET | Abercrombie | About | Advertising | Ai | Alban-berg | Alejandro-jodorowsky | Alien | Altered-states | Alters | Ambien | Andrei-tarkovsky | Anima | Anton-webern | Apeirophobia | Aphasia | Apocrypha | Archangel-michael | Arizona | Arnold-schwarzenegger | Ashtar | Asparagaceae | Asphodel-meadows | Atari | Automaton | Baconator | Baudelaire | Behold a Pale Horse | Bell-labs | Berhold-brecht | Berserk | Berserk! ▶︎ | Beta page | Bicameralism | Bitcoin | Black-drop | Black-screen-o'-death | Blade-runner | BladeEnc | Bloomin-onion | Boltzmann Brain | Bomaye | Bowerbirds | Brain-virus | Bruges | Brutalism | Bulletin-board | Burgundy-car-interior | Byrds-of-paradise | CIA | COBOL | COINTELPRO | Cannabis | Captain-crunch | Cave of Brahma | Cenobites | Cerulean-fog ▶︎ | Chemtrails | Chernobyl | Chris-marker | Christian Family Research Council | Christianity | Chrysanthemum | Cicada-3301 | Cicadas | Cimmerian | Circuit-city | Cocobolo | Cocteau-twins | Code-x-digital | Codex | Codex-exoniensis | Codicil | Cold-slither | Collexion-III ▶︎ | Collexion-II ▶︎ | Collexion-IV ▶︎ | Collexion-I ▶︎ | Colonel-john-matrix | Coltan | Combahee-river | Contra | Copiale-cipher | Coral-gables | Cotton-mather | Credits | Crib-death | Cross-of-akht | Crystal-pepsi | Cult-of-the-dead-cow | Cybernetics | Dactyls | Daemon | Dallas | David Icke | Death-of-optimus | Deep-blue | Dekalog | Delorean | Destro | Destroy! | Dharma | Dialectic | Dido | Digital | Digital-riptide | Dikembe-mutombo | Dillinger-is-dead | Directory | Disclaimer | Division-bell | Dokken | Dolly | Doppler | Egyptian Helicopter | Ehspf | Elektroshock-therapy | Elysium | Enneagram | Enochian | Eraserhead | Error | Essential-oils | Et | Eternalblue | Eucharist | Event-horizon | Exile from Paradise | FBI | Faye-dunaway | Fleetwood-mac | Freeside | Galactus | Gallowglass | Gauntlet | Generation x | George-van-tassel | Ghost-from-three-men-and-a-baby | Gi-joe | Giant Panther | Gnosticism | Gowanus-canal | Gravitys-rainbow | Grey-waves | Gyokusai | HAL ▶︎ | Hadean-lands | Hades | Hair-metal | Hatra | He-man | Healthgoth | Helicopter-fetish | Helikopter-streichquartett | Hotline-connect | Hysteria | I-Antichrist | IBM | Icer-addis | Illuminati-quartet | Imago | Imbruglia | Immanuel-velikovsky | Incubus | Info | Info/ | Integraton | Internet | Internet-relay-chat | Jan-michael-vincent | Japanese-streetwear | Jazzercise | Jesus of Nazareth | John-david-mcafee | Jon-and-kate | Joybubbles | Judgement-day ▶︎ | Kareem-abdul-jabbar | Karlheinz-stockhausen | Kinesiology | Klf | Knight-ridder | Knight-rider | Konami | Konami Dream | Kosciuszko-bridge | Kumbaya | Lawns | Legions-of-osiris | Lesser-key-of-solomon | Light-singing | Lindisfarne-gospel | Linguistics | Listserv | Lord-digital | Los Angeles | Luciferin | Lyric-suite | Ma-bell | Mailer-daemon | Main Page | Marduk | Massed-vulture | Maudlin Show | Max-headroom | Mech | Meconium | Mega-man-2 | Memorex | Meshes-of-the-afternoon | Metal-gear-solid | Metatron | Metroid | Michael-j-fox | Microsoft | Microsoft-solitaire | Millennium-rift | MindRape | Mindvox | Minotaur | Molly-millions | Mountain Dew | Murad-Jacob-Kevorkian | My-nepenthe | NESticle | NY1 | Narcotics | NeXT BlackBox3 | Neon-babylon | Neon-genesis-evangelion | Nes | Nettle | New Jerusalem | Ninel-kulagina | Nirvana | No-wave | No-wire-hangers-ever | Noid | Nordgen | Normcore | Obelisk | Oberheim-SEM | Obolus | Octagon-of-dex | Operation-mindcrime | Operation-sundevil | Ophite-diagrams | Ornithomancy | Otherworld | PARCO | PARCO-collexion | Palimpsest | Panopticon | Parallax | Paresthesia | Pazuzu | Perfect-strangers | Periaqueductal-grey | Phage | Phantom-archives | Phantom-city | Phantom Access Technologies | Phiber-optik | Phowa | Phreaking | Pokemon | Pole-position ▶︎ | Power-electronics | Public-enemy-era | Quantum | Quantum-loop-gravity | Radioshack | Ragnarok | Rammellzee | Ramparts-magazine | Relational Aesthetics | Ringu | Robert-Anton-Wilson | Robert-john-mutt-lange | Roger-bacon | Ronald-reagan | Rorschach-test | Rose-pattern | Running-cola | Rygar | Saccharin | Sacred geometry | Saddam Hussein | Saraya-sarhaddi-nelson | Satanism | Saturn's Hexagon | Schizophrenia | Sega | Septuagint | Serialism | Sex-with-Satan | Shamir | Shepherds-of-apocrypha | Signal-hijacking | Silicon-valley | Silmarillion | Silurian Hypothesis | Simulation-theory | Skinemax | Skynet-syndrome | Slideshow demo | Snow-crash | Socotra | Solaris | Solemn Simulacrum | Solitaire ▶︎ | Solomons-key | Southern-incident | Spaceships-of-ezekiel | Spectral-peaks | Spectre-complex | Ssynthündßäx | Stalker | Steven-bochco | Steven-seagal | Studs-terkel | Susumu Hirasawa | Sword-of-damocles | T-1-carrier | Technostalgia | Terminator | Tetra-denim | The-Song-of-the-Cow | The-baroness | The-exorcist | The-iceman-cometh | The-legion-of-doom | The-moldau | The-self | The-waste-land | The-woman-in-the-dunes | The Bogdanov Twins | Thomas-kinkade | Tikrit | Timeline | Tobo-bottleneck | Top-gun | Total-freedom | Tottori Sand Dunes | Tower-of-babel | Transformers | Tron | True-hunger | UNTITLED ▶︎ | Un-chien-andalou | UseNet | Valhalla | Valkyrie | Vannevar-bush | VaporTech | Vaporwave | Venetian-pool | Venusian-enigmata | Videotex | Viduus | Viewtron | Voices-in-my-head | Voynich-manuscript | Vpd | W.A.S.P. | Warner-Amex Satellite Productions's Music Television | Weld-am-draht | White-columns | Wight | William-gibson | Winamp | Wintermute | Xenakis | Y2K | Yukio-mishima | Zelda | Zellige | Ziggurat

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/**
 * MediaWiki - React App Communication
 * Add this code to your MediaWiki:Common.js file to enable postMessage communication
 * with a parent React application.
 */
(function() {
  'use strict';
  
  // Configuration - Change this to match your React app's domain
  var ALLOWED_ORIGIN = 'http://localhost:3001/';
  
  // Wait for document to be ready
  $(function() {
    // Only run if we're in an iframe
    if (window.parent !== window) {
      // Set up message listener
      window.addEventListener('message', function(event) {
        // Validate the origin for security
        if (event.origin !== ALLOWED_ORIGIN) {
          console.warn('[MediaWiki] Received message from untrusted origin:', event.origin);
          return;
        }
        
        console.log('[MediaWiki] Message received from parent:', event.data);
        
        // Process the message based on type and action
        if (!event.data || !event.data.type) {
          return;
        }
        
        // Handle different message types
        switch (event.data.type) {
          case 'ping':
            // Simple ping/pong test
            event.source.postMessage({
              type: 'pong',
              originalTimestamp: event.data.timestamp,
              responseTimestamp: Date.now()
            }, event.origin);
            break;
            
          case 'command':
            handleCommand(event);
            break;
            
          default:
            console.warn('[MediaWiki] Unknown message type:', event.data.type);
        }
      });
      
      // Notify parent when page is ready
      sendMessageToParent({
        type: 'notification',
        status: 'loaded',
        page: mw.config.get('wgPageName')
      });
      
      console.log('[MediaWiki] Communication initialized with parent window');
    }
  });
  
  /**
   * Handle command messages from the parent
   */
  function handleCommand(event) {
    if (!event.data.action) {
      return;
    }
    
    var response = {
      type: 'response',
      action: event.data.action
    };
    
    switch (event.data.action) {
      case 'getPageContent':
        response.pageId = event.data.pageId || mw.config.get('wgPageName');
        response.content = $('#mw-content-text').html() || 'Content not found';
        break;
        
      case 'getPageMetadata':
        response.title = mw.config.get('wgPageName');
        response.namespace = mw.config.get('wgNamespaceNumber');
        response.revisionId = mw.config.get('wgRevisionId');
        response.isArticle = mw.config.get('wgIsArticle');
        response.categories = mw.config.get('wgCategories');
        break;
        
      case 'navigateTo':
        if (event.data.page) {
          response.status = 'navigating';
          response.destination = event.data.page;
          
          // Send response before navigation
          sendMessageToParent(response);
          
          // Navigate to the requested page
          window.location.href = mw.util.getUrl(event.data.page);
          return; // Exit early since we're navigating away
        } else {
          response.status = 'error';
          response.message = 'No page specified for navigation';
        }
        break;
        
      case 'getElementContent':
        if (event.data.selector) {
          var element = document.querySelector(event.data.selector);
          response.selector = event.data.selector;
          response.exists = !!element;
          response.content = element ? element.innerHTML : null;
        } else {
          response.status = 'error';
          response.message = 'No selector specified';
        }
        break;
        
      case 'getUserStatus':
        response.isLoggedIn = !!mw.config.get('wgUserId');
        response.username = mw.config.get('wgUserName');
        break;
        
      default:
        response.status = 'error';
        response.message = 'Unknown action: ' + event.data.action;
    }
    
    // Send the response back to the parent
    sendMessageToParent(response);
  }
  
  /**
   * Helper function to send messages to the parent window
   */
  function sendMessageToParent(message) {
    if (window.parent !== window) {
      window.parent.postMessage(message, ALLOWED_ORIGIN);
      console.log('[MediaWiki] Message sent to parent:', message);
    }
  }
})();





/* Keep below */



$(document).ready(function() {
  // Get element's position relative to the viewport
  function getElementTopPosition(selector) {
    var element = $(selector);
    if (element.length) {
      var elementPosition = element.offset().top;
      var scrollTop = $(window).scrollTop();
      var positionInViewport = elementPosition - scrollTop;
      
      // Store the position for later use
      var storedPosition = elementPosition;
      
      console.log('Element position stored:', storedPosition);
      return storedPosition;
    }
    return 0;
  }
  
  // Store positions when page loads
  var onePosition = getElementTopPosition('.sidebar-heading.one');
  var twoPosition = getElementTopPosition('.sidebar-heading.two');
  var threePosition = getElementTopPosition('.sidebar-heading.three');

  // Select elements with the scroll-trigger class
  $('.sidebar-heading.one').click(function() {
    // Find the scrollable container
    var container = $('#topbar');
    
    // Scroll to the top of the container (position 0)
    container.animate({
      scrollTop: onePosition - 202
    }, 300); // 300ms animation duration
  });

$('.sidebar-heading.two').click(function() {
    // Find the scrollable container
    var container = $('#topbar');
    
    // Scroll to the top of the container (position 0)
    container.animate({
      scrollTop: twoPosition - 240
    }, 300); // 300ms animation duration
  });

 // Select elements with the scroll-trigger class
  $('.sidebar-heading.three').click(function() {
    // Find the scrollable container
    var container = $('#topbar');
    
    // Scroll to the top of the container (position 0)
    container.animate({
      scrollTop: threePosition - 275
    }, 300); // 300ms animation duration
  });

});