PageSourceSearch

https://www.degruyterbrill.com/assets/javascripts/37a2cfe669cc9d8eead8b67ac2afe33e-main-immediate.js

js degruyterbrill.com collected 2026-09-24 08:27:58 UTC 1,928 bytes, 50 lines download raw bytes

1// Scripts that cannot be run deferred (note - modules are loaded deferred automatically)
2window._ll = window._ll || [];
3
4// Record Google Analytics
5// Note that having the script in this separate file rather than inline means GA will claim a slightly slower load time, but it's incorrect,
6// and this means that we don't have to enable unsafe access in the Content-Security-Policy
7window.dataLayer = window.dataLayer || [];
8const data = {
9    "gtm.start": new Date().getTime(),
10    event: "gtm.js"
11};
12window.dataLayer.push(data);
13console.debug(`Pushing to dataLayer: ${JSON.stringify(data)}`);
14window.gtag = function(){window.dataLayer.push(arguments)};
15
16// Set up MathJax config before it loads as described here:
17// https://docs.mathjax.org/en/v4.0/#using-plain-javascript
18window.MathJax = {
19    CommonHTML: { linebreaks: { automatic: true } },
20    "HTML-CSS": { linebreaks: { automatic: true } },
21    mml: {
22        verify: { checkMathvariants: false }
23    },
24    startup: {
25        ready() {
26            window.MathJax.startup.defaultReady();
27
28            const applyRoles = () => {
29                document.querySelectorAll("mjx-container").forEach((el) => {
30                    const tabindex = el.getAttribute("tabindex");
31                    if (tabindex !== null && Number(tabindex) >= 0) {
32                        el.setAttribute("role", "button");
33                        el.setAttribute("aria-haspopup", "menu");
34
35                        if (!el.getAttribute("aria-label")) {
36                            el.setAttribute("aria-label", "Mathematical expression. Open menu for options");
37                        }
38                    } else {
39                        el.setAttribute("role", "math");
40                    }
41                });
42            };
43
44            applyRoles();
45
46            window.MathJax.startup.document.state(0);
47            window.MathJax.startup.promise.then(applyRoles);
48        }
49    }
50};

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.