Registers the inert PoolParty feature placeholder for the BooruKit userscript suite.
Tento skript by nemal byť nainštalovaný priamo. Je to knižnica pre ďalšie skripty, ktorú by mali používať cez meta príkaz // @require https://update.sleazyfork.org/scripts/589430/1890616/BooruKit%20PoolParty.js
// ==UserScript==
// @name BooruKit PoolParty
// @namespace codeberg.org/0xdev/boorukit
// @version 0.1.0
// @description Registers the inert PoolParty feature placeholder for the BooruKit userscript suite.
// @author 0xdev
// @license LGPL-3.0-or-later
// ==/UserScript==
// THIS FILE IS AUTO-GENERATED — DO NOT MANUALLY EDIT.
// Source: boorukit/boorukit-pool-party.library.js
(() => {
'use strict';
function createPoolPartyDescriptor() {
return {
kind: 'feature',
id: 'pool-party',
label: 'PoolParty',
apiVersion: 1,
defaultEnabled: true,
supports: () => false,
activate: () => undefined,
};
}
function registerGlobalPoolParty() {
const key = Symbol.for('codeberg.org/0xdev/boorukit/runtime/v1');
const runtimes = globalThis;
const runtime = runtimes[key];
if (!runtime || runtime.apiVersion !== 1) {
throw new Error('BooruKit Core API 1 is not available');
}
runtime.register(createPoolPartyDescriptor());
}
if (typeof window !== 'undefined')
registerGlobalPoolParty();
if (typeof window === 'undefined'
&& typeof module !== 'undefined'
&& module.exports) {
module.exports = { createPoolPartyDescriptor };
}
})();