绅士仓库自动换成直板

直板打手冲还是方便啊

// ==UserScript==
// @name         绅士仓库自动换成直板
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  直板打手冲还是方便啊
// @author       兰屿绿蠵龟
// @match        https://www.wnacg.org/photos-index-*
// @match        https://wnacg.org/photos-index-*
// @match        https://www.wnacg.com/photos-index-*
// @match        https://wnacg.com/photos-index-*
// @match        https://www.wnacg.fun/photos-index-*
// @match        https://wnacg.fun/photos-index-*
// @match        https://www.wnacg.wtf/photos-index-*
// @match        https://wnacg.wtf/photos-index-*
// @grant        none
// ==/UserScript==

(function() {
    var test = window.location.href
	    var a = /aid-.+\.html/;
    var a1= test.match(a);
window.location.replace("photos-slide-"+a1);
})();