Skip poweruser.guru site

Skip poweruser.guru and go to the real poweruser.com thread

スクリプトをインストールするには、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         Skip poweruser.guru site
// @namespace    GrayFace
// @version      1.0
// @description  Skip poweruser.guru and go to the real poweruser.com thread
// @author       GrayFace
// @match        http://poweruser.guru/*
// @match        https://poweruser.guru/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {'use strict';

function WhenLoaded(f, id) {
	var timer;
	timer = setInterval(function() {
		var a = document && document.body && (!id || document.querySelector(id));
		if (a) {
			clearTimeout(timer);
			f(id && a);
		}
	}, 10);
}

WhenLoaded((a)=>{
	location.href = a.href;
}, '.question .suggest-edit-post');

})();