Registers the inert PoolParty feature placeholder for the BooruKit userscript suite.
Ce script ne devrait pas être installé directement. C'est une librairie créée pour d'autres scripts. Elle doit être inclus avec la commande // @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 };
}
})();