您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Tweaking misc. UI in the Steam Point Shop
- // ==UserScript==
- // @name dirtywarez.com > Misc UI Tweaks
- // @namespace http://dirtywarez.com/
- // @match https://forum.dirtywarez.com/threads/*
- // @version 1.0
- // @author Jeremy Boutin
- // @license MIT
- // @require https://code.jquery.com/jquery-1.9.1.min.js
- // @description Tweaking misc. UI in the Steam Point Shop
- // @grant GM_addStyle
- // @grant GM.getValue
- // @grant GM_log
- // @grant GM_setClipboard
- // ==/UserScript==
- GM_addStyle (`
- .bbCodeBlock-content {
- max-height: fit-content !important;
- }
- `);
- $.noConflict();
- jQuery(window).on('load popstate', function(event) {
- setTimeout(function(){
- jQuery('pre[class="bbCodeCode"] code').each(function() {
- const rglinks = jQuery(this).html();
- console.log(jQuery(this).html());
- let rglinksupdated = rglinks.replace(/rg.to/g,'rapidgator.net');
- rglinksupdated = rglinks.replace(/.html/g,'');
- jQuery(this).html(rglinksupdated)
- });
- }, 350);
- });