adds .local/share/millennium and easyeffects
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
const MILLENNIUM_IS_CLIENT_MODULE=!1,pluginName="extendium";function InitializePlugins(){var e;(e=window.PLUGIN_LIST||(window.PLUGIN_LIST={}))[pluginName]||(e[pluginName]={}),window.MILLENNIUM_SIDEBAR_NAVIGATION_PANELS||(window.MILLENNIUM_SIDEBAR_NAVIGATION_PANELS={})}InitializePlugins();const __call_server_method__=(e,n)=>Millennium.callServerMethod(pluginName,e,n);function __wrapped_callable__(e){return e.startsWith("webkit:")?MILLENNIUM_API.callable((e,n)=>MILLENNIUM_API.__INTERNAL_CALL_WEBKIT_METHOD__(pluginName,e,n),e.replace(/^webkit:/,"")):MILLENNIUM_API.callable(__call_server_method__,e)}let PluginEntryPointMain=function(){return function(e){"use strict";const n=__wrapped_callable__("GetExtendiumInfo");return e.GetExtendiumInfo=n,e.default=async function(){const e=JSON.parse(await n());!function(e,n){document.addEventListener("click",t=>{const i=t.target.closest("a");if(i){const a=decodeURIComponent(i.href);if(!0===n.openLinksInCurrentTab){"_blank"===i.target&&(i.target="_self");const e=["steam://openurl_external/","steam://openurl/"];for(const n of e)if(a.startsWith(n)){const e=a.replace(n,"");i.href=e;break}}e.some(e=>function(e,n){return e.isRegex?function(e){const n=e.match(/^\/(.*)\/([gimsuy]*)$/);return n?new RegExp(n[1]??"",n[2]??""):new RegExp(e)}(e.match).test(n):n.includes(e.match)}(e,a))&&(location.href=`steam://openurl_external/${a}`,t.preventDefault())}},!0)}(e.externalLinks?JSON.parse(e.externalLinks):[],e.settings??{})},Object.defineProperty(e,"__esModule",{value:!0}),e}({},window.MILLENNIUM_API)};async function ExecutePluginModule(){let e=PluginEntryPointMain();Object.assign(window.PLUGIN_LIST[pluginName],{...e,__millennium_internal_plugin_name_do_not_use_or_change__:pluginName});let n=await e.default();var t;n&&((t=n)&&void 0!==t.title&&void 0!==t.icon&&void 0!==t.content)&&(window.MILLENNIUM_SIDEBAR_NAVIGATION_PANELS[pluginName]=n)}ExecutePluginModule();
|
||||
Reference in New Issue
Block a user