LPIPE-NEXT

Enable IPE NEXT in Liquipedia

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         LPIPE-NEXT
// @namespace    https://liquipedia.net/
// @version      2026-01-13 Update 1
// @description  Enable IPE NEXT in Liquipedia
// @author       OTSEndPoem
// @match        https://liquipedia.net/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=js.org
// @grant        none
// @license MIT
// ==/UserScript==
!(function() {
  // RLQ是MediaWiki保存异步执行函数的数组
  window.RLQ = RLQ || [];
  RLQ.push(() => {
    // 等待jQuery加载完毕
    var _count = 0;
    var _interval = setInterval(() => {
      _count++;
      if (typeof jQuery !== "undefined") {
        // jQuery加载完毕
        clearInterval(_interval);
        // 防止网站并不是MediaWiki时报错
        try {
            mw.loader.load('https://cdn.jsdelivr.net/npm/@inpageedit/core/lib/index.umd.js')
            mw.loader.load('https://cdn.jsdelivr.net/npm/@inpageedit/core/lib/style.css','text/css')
        } catch (e) {}
      } else if (_count > 30 * 5) {
        // 加载超时
        clearInterval(_interval);
      }
    }, 200);
  });
})();