T411 - Redirection Forum

Permet d'éviter un bug d'affichage en redirigeant l'adresse d'accès au forum T411

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         T411 - Redirection Forum
// @namespace    https://www.t411.li
// @version      1.1.1
// @description  Permet d'éviter un bug d'affichage en redirigeant l'adresse d'accès au forum T411
// @author       Micdu70
// @include      http://www.t411.al/forum*
// @include      https://www.t411.al/forum*
// @grant        none
// @run-at       document-start
// ==/UserScript==
function INIT() {
    var url = window.location.href;
    var reg = /.*forum(\.php)?(\?)?(#)?(\/\S+)/;
    if (url.match(reg) !== null) {
        var newurl = 'https://forum.t411.al' + url.match(reg)[4];
        window.location.replace(newurl);
    } else {
        window.location.replace('https://forum.t411.al/');
    }
}
INIT();