Files
prodik 257b42f518 Каталог плагинов: полный локальный mirror в ./plugins (один directory-mount в wwwroot/plugins), доки и вычистка неиспользуемых модулей
- plugins/: скачаны все 30 плагинов store локально (sources.json - карта исходных URL);
  патчи: showy.js (абсолютный хост подгрузки), pubtorr/td/torrentmanager - тела вместо лоадеров,
  modss.js - local-patched копия (из каталога исключена, upstream мёртв)
- extensions.json: 32 позиции, все ссылки {localhost}/plugins/<файл>.js, удалены мёртвые
  (Skaz TV x3, export.js, hotkeys/gold_theme/select_weapon/want/mult, MODS's, o.js, др.)
- compose: ./plugins:/lampac/wwwroot/plugins (один маунт вместо 30 file-mount)
- вычистка: удалены неиспользуемые mods (DatabaseEditor, ExternalBind, LogUserRequest-Lite,
  Telemetry, Transcoding, WatchTogether) и дубль каталога modules/
- config/init.conf: секции Tracks/AdminPanel/Music, customPlugins без gst.js
- mods/Tracks: правки Controller.cs/plugin.js
- README.md / AGENT.md: mirror, кеш static, правила mount
2026-10-02 16:37:30 +03:00

13 lines
527 B
JavaScript

;(function() {
var ua = navigator.userAgent || '';
if (/Android\s+[4-6]/i.test(ua) && /Crosswalk/.test(ua)) {
Lampa.Socket.init = function () {
console.log('Socket', 'initialization disabled by wsoff.js plugin')
};
Lampa.Socket.send = function (method, data) {
console.log('Socket', 'Method "' + method + '" send disabled by wsoff.js plugin')
};
} else {
console.log('Socket', 'The wsoff.js plugin cannot work on this device because it is designed for older devices with expired root certificates.')
}
})();