Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name RMW Link Fix
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description Fixes broken links on RMW forums.
- // @author kattywompus
- // @include *forums.rpgmakerweb.com/index.php?/topic/*
- // @require http://code.jquery.com/jquery-latest.js
- // ==/UserScript==
- var regex = /(.*)index\.php\?\/topic\/([0-9]+).+/i;
- window.location.href = window.location.href.replace(regex, "$1threads/$2/");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement