beanlover [he/him, she/her]

  • 1 Post
  • 14 Comments
Joined 2 years ago
cake
Cake day: August 16th, 2024

help-circle



  • Ask and you shall receive

    // ==UserScript==
    // @name         Airport!
    // @namespace    Airporty
    // @version      2026-09-24
    // @description  (Airport!)
    // @match        https://*/*
    // @grant        none
    // ==/UserScript==
    
    (() => {
        'use strict';
        const search = /plane/gi;
        const replaceWith = 'plane (Airport!)';
        const excludedTagNames = ['SCRIPT', 'STYLE', 'INPUT', 'TEXTAREA'];
    
        // walk through document's nodes collecting elements with text inside
        // (but filter out tags that should probably be skipped)
        const walker = document.createTreeWalker(
            document.body,
            NodeFilter.SHOW_TEXT,
            {
                acceptNode: node =>
                excludedTagNames.includes(node.parentElement?.tagName)
                ? NodeFilter.FILTER_REJECT
                : NodeFilter.FILTER_ACCEPT
            }
        );
    
        // loop through the planes, making (Airport!)s :)
        for (let node = walker.nextNode(); node; node = walker.nextNode()) {
            node.nodeValue = node.nodeValue.replace(search, replaceWith);
        }
    })();
    



  • Like holy shit how can people possibly even just glance at that history and think “wow, this is a sane, reasonable, and well-adjusted person”

    This guy could go on stage and scream “I LOVE KILLING PEOPLE SO MUCH!!!” and people would still defend him, even though… wait… isn’t that literally what one of his accusers said he would talk about all the time is enjoying war & killing people?