您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Legend of Grimrock 2 scripting reference formatter
当前为
// ==UserScript== // @name LOG2 scripting reference // @namespace jkos // @include http://www.grimrock.net/modding/scripting-reference/ // @version 1.2 // @grant none // @description Legend of Grimrock 2 scripting reference formatter // ==/UserScript== $('h3').css('cursor','pointer') $('h3').nextUntil('h3').hide(); $('h3').click(function(e){ if ($(this).next().is(":visible") ){ $(this).nextUntil('h3').hide(); }else{ $(this).nextUntil('h3').show() ; } }) //$('em').css('font-weight','bold'); $('em').css('color','#b99e73'); $('em').css('font-size','1.1em'); $('li').html(function(i, val) { return '<span style="font-weight: bold">'+val.replace(':', ':</span>'); }); //$('a:contains("Component")').first().parent().show() $('a').parent().show() .click(function(){ $(this).nextUntil('p:visible').show() }).css('cursor','pointer');