PageSourceSearch

https://www.internet-abc.de/_assets/a739cde70213a0694aa04d93c7b9812c/Javascript/helper.js?1786060432

js internet-abc.de collected 2026-10-02 07:49:47 UTC 1,158 bytes, 43 lines download raw bytes

1/* eslint-disable */
2(function()
3{
4    console.warn('Please use "import {...} from \'@kids/typo3\';"!');
5    var normalizeForPrefix = function(name)
6    {
7        return name.toLowerCase().replace(/[^a-z0-9]/g, '');
8    };
9
10    var typo3Helper =
11    {
12        createExtbaseQueryParams: function(extensionName, pluginName, params)
13        {
14            var prefix = 'tx_' + normalizeForPrefix(extensionName) + '_' +
15                normalizeForPrefix(pluginName);
16            var newParams = {};
17
18            for (var id in params)
19            {
20                newParams[prefix + '[' + id + ']'] = params[id];
21            }
22
23            return newParams;
24        },
25        createAjaxActionQueryParams: function(
26            vendorName,
27            extensionName,
28            pluginName,
29            controller,
30            action,
31            params = {}
32        )
33        {
34            return typo3Helper.createExtbaseQueryParams(
35                extensionName,
36                pluginName,
37                {vendorName, extensionName, pluginName, controller, action, ...params}
38            );
39        }
40    };
41
42    window.__typo3Helper = typo3Helper;
43})();

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.