LAPLACE 弹幕助手 - 哔哩哔哩直播间独轮车、弹幕发送 è stato segnalato il 08/06/2026 per Codice minimizzato
laplace-anon ha detto:
The report was valid — until version 3.2.11, the script was published as a minified Vite build, which I wasn't aware violated the rules. This has been fixed in version 3.2.12, now live: The build is no longer minified. The script body is bundled but output with whitespace and variable names fully retained, per the code rules' provision for bundled scripts. All application logic is plainly readable. Bundled libraries are attributed. A comment at the top of the script body lists every inlined third-party library with its name, exact version, and npm URL. Why the libraries are bundled instead of @require-d: several ship no UMD build that @require could load (@preact/signals, tailwind-merge), @tabler/icons-preact is tree-shaken to only the few icons actually used (the full package is several MB of unused icons), and this script targets Bilibili users in mainland China, where public CDNs like jsDelivr are slow or unreachable — I tested an @require-based build and it made loading unstable for the primary audience. This is documented in the same comment. One section still contains short identifiers — that's Preact itself, bundled verbatim from its official npm package. Preact's upstream publishes only compiled code with mangled internal property names, and its ecosystem (e.g. @preact/signals) depends on those exact names, so no unminified form of Preact exists that would actually run. This code is byte-identical in content to what an @require from jsDelivr would deliver; it is not minified by my build. The script is open source under AGPL-3.0: https://github.com/laplace-live/chatterbox — anyone can verify the published code against the repository. Thanks for the review.
Questo script è stato aggiornato da quando è stato inoltrata la segnalazione.
laplace-anon (l'utente segnalato) ha fatto:
Questa segnalazione è stata confermata da un moderatore.
please use `@require` from an allowed CDN instead of `x$3(n, t, i, r, o) {`
