PageSourceSearch

https://www.moaa.org/static/redesign/assets/scripts/headerButtons.js

js moaa.org collected 2026-10-01 10:32:44 UTC 767 bytes, 19 lines download raw bytes

1$(document).ready(function () {
2    $(".header__buttons").each(function (index, value) {
3        var buttonText = $(this).text().trim().toLowerCase();
4
5        if (buttonText.indexOf("donate") != -1) {
6            $(this).removeClass("default__header-button").addClass("donate__header-button");
7        }
8        else if (buttonText.indexOf("upgrade/renew") != -1) {
9            $(this).removeClass("default__header-button").addClass("upgrade__renew__header-button");
10        }
11        else if (buttonText.indexOf("renew/upgrade") != -1) {
12            $(this).removeClass("default__header-button").addClass("upgrade__renew__header-button");
13        }
14        else {
15            $(this).addClass("default__header-button");
16        }
17
18    });
19});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.